mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 10:37:07 +01:00
feat(editor): no question of the terrain at the first L, it loads in the background and the photo doesn't wait for it
The first L in a new scenery with no tracks nor terrain asked in a window whether to load the terrain. Now nothing is asked: where the scenery lies on the map the terrain model loads in the background around it, as the answer Load the terrain did, and a line in the panel of the laying says "Terrain: loading..." with Without terrain, which stops it as that answer did; it goes once the terrain is in. A scenery not placed on the map has Place it... there, to Terrain (F5). Whether a new scenery gets its terrain by itself is a checkbox of the settings of the terrain loading, where the window had it. A download of the model that failed is told there, and in the banner of the loading and the terrain panel, in plain words as the photo tells its own, not as the code of WinHTTP (which stays in the log). A tile of the photo no longer waits for the chunks of the terrain still to come under it: it lies flat at the height of the ground found last (of the layer before any was) and goes onto the ground as it comes. The window and its strings are gone.
This commit is contained in:
@@ -194,7 +194,8 @@ editor_mode::selftest_result editor_mode::selftest_dispatch(std::string const &c
|
||||
// turntables the height of each turntable and of the model in its pit, and the heights of the tracks running up
|
||||
// to it out along their lines from the rim, against the model there
|
||||
// nmtstate logs how far the tracks going onto the terrain model are
|
||||
// nmtquestion <open|flat|restore> the question of the terrain of a new scenery opened, or answered without terrain as its card does;
|
||||
// nmtquestion <open|flat|restore> the terrain of a new scenery offered as the first L offers it (loaded in the background where the
|
||||
// scenery is placed, the line in the panel of the laying), or gone without as its button does;
|
||||
// restore: the settings of the terrain made by itself put back as they were before that answer
|
||||
// gradelines <file> the grade line each track shares written to the file, for a map of them
|
||||
// fitreport <file> to the file: the tracks off the terrain model, the switches off their plane, the rails on common timbers apart in height
|
||||
|
||||
Reference in New Issue
Block a user