A curve a trace laid slower than the line kept that speed with its vertex until its radius was changed, but only the R1
field and the arc handle cleared it. The other radii of a compound curve (their fields, a radius added or taken out, the
curve made compound or plain) changed the curve and left it at the speed of the radii it was fitted with. They now clear
it too.
With the photo draped, the 3D view and the tiles failing (offline), draw_orthophoto_failures asked ground_heights for the
corners of up to 400 tiles every frame. That gathered a 256 m ground tile per frame without end, and since every tile it
asked for was used in that frame, the eviction stopped and the ground cache grew past its limit over the download area.
The heights under the corners are now kept per failed tile. Two tiles are asked for a frame: one with a corner not found
yet each second, one found all round each 30 s, as the ground under it may have come or changed since. The entries of the
tiles no longer failing are dropped, and all of them when the photo is off or nothing fails. A corner not found yet is
drawn at the height of the layer, as before.
- The line traced shown is worked out again while its grade line is being fitted (follow_meanwhile() tells a stopgap), and when the
settings of the trace change ("It's a side track", the norms): the key of its cache kept the stopgap, or the refusal, till the next
click.
- Going on from the end of the line laid, that end stays the start of the points, not one of the points clicked: Esc counted it, and
Backspace back to it then Enter said "Click at least two points" instead of ending the line.
- Leaving the lay tool cancels the laying with its wait for the terrain: left behind, a stale end with no points was laid when the tool
was back.
- A free end no candidate of the tracer reaches is told, not laid as joined with a gap left.
- A curve the trace laid slower than the line shows its speed in Plan, and a change of its radius there lays it at the speed of the line.
- A track dragged out of a free end keeps the heights of the setting while the clicks are traced: the fitted heights are for the sparse
points clicked on the photo.
- The time of a click of the tracer is checked only with EU07_TRACE_TIMING set: the coverage job of the CI, with no optimisation, took
several times as long. The evaluations are checked always.
- A tile of the download area failing again and again is logged the first time only; each retry wrote a line, the whole area every
5 min offline.
- The queue of the area holds the tiles still to be fetched: the ones fetched go from it before a retry is added, it no longer grows
by each retry.
- A growth of the area keeps the tries of the tiles which failed, for the same photos: the ones waiting for their next try go on
waiting, not asked for again all at once with the backoff started over.
- "Place it..." in the line of the terrain: once the scenery is placed on the map, its terrain loads as the offer has it, and the line
says so; it said the scenery wasn't placed and nothing loaded.
- In the 3D view the outlines of the failed tiles lie on the ground the draped photo lies on, not at the height of the layer.
- area_grow() looks at the area every 5 s whatever comes of it; set only by a growth, it ran every frame once 5 s had passed.
- The comments of layoutCommands.hpp and layoutNetwork.hpp give hand 1 as right and -1 as left, as the migration and the inspector
have it since #464 (R of a switch record).
- The grade line of a line of the model applied with no edit: the breaks compared within a micrometre, the chainages having gone to
the route and back; compared exactly, it added a step.
- profile_open() clears the error of the route opened before.
- Self-test expectations: modelpreview current (the preview worked out for the design as it is now, m_11), modelspacing signed by
the side (m_13 to the right, -4.5 m), modelside of a switch (m_8 right, then left after the side is changed).
editor_model is in editormodemodel.h here: the setting taken at the open and the errors of the generator go there. A managed track
of a turnout counts among the tracks of the main track of the turnout, as indices[] numbers them; the errors of the turnouts are told
with the notices too, shown as they are.
- The commands of one Plan apply after the first are joined to it: one Ctrl+Z takes back the whole apply, none leaves the line half
edited.
- The setting "Editing on the model" is taken when the scenery is opened and kept for the session; changed meanwhile, the panel says it
takes effect with the next scenery. Turned on later, an edit made the old way before was written back as the file had it; turned off
before a save, the scenery was saved without its project.
- A line of the model some of whose tracks another tool took away (a switch put in) counts as changed by hand, as it does after a
reopen: each track knows how many tracks its line was made of.
- A self-test which doesn't set the model leaves it off, whatever the tester's own eu07_editor.ini has.
- What the generator can't make as the line has it is told with the notices of the command, not only logged.
The line laid by the photo tells of itself as laid by the serial of the step on top of the history, as the rest of the laying does now,
not by the size of the history.
The earlier fix kept the //$u line in the scenery whenever the editing is on the model, so ps_2_setup_project found the
assumptions in the scenery where the project should hold them alone. They are taken out of the scenery again as before; when
the scenery or the project of the model then fails to be saved, they go back into the scenery with its next save and stay
there until the project is saved.
- //$g of the scenery file went before the origin of //$o, also where the user had aligned the photo by hand in the editor: the
alignment was gone on the next opening. An origin typed in the editor is written into //$o with the word "aligned", and such
an origin goes before //$g. The word is optional: a release before it passes it over and reads the origin as before, and an
//$o without it is read as before. "Use it" (the origin of //$g) takes the word off.
- The zoom turned the 4K photos on for the 3 x 3 tiles around the camera, as the setting for them does: up to about 0.75 GB of
the memory of the graphics card, unasked. By the zoom alone the 4K photo is the tile under the camera (about 85 MB); the
setting keeps the 3 x 3.
- With the editing on the model, setup_store() took the //$u lines out of the scenery and left the assumptions to the project
of the model, which is written after the scenery and may fail to be: then they were in neither. The scenery keeps the line
as well; the project's is read first, as before.
- A texture typed into the assumptions and cleared again left the lay tool with the one typed: empty is the tool's own.
- model_plan_preview() keyed on vertex.position, which a drag of the first or the last vertex of a line with two or more
curves doesn't change (it moves vertex.offset along the tangent of the end): the green or red line and the text of the norms
froze after the first frame, and the release could be refused where the preview showed it within the norms. The key has the
offset now.
- parallel_build() laid the whole line with model_parallel beside a managed line whatever the scope, so "This path" on a 50 m
track of a 2 km line previewed 50 m and laid 2 km. The model's parallel line is laid for the scope of the whole line only.
- Esc during a handle drag restored the design but left the preview of the model on screen.
- record_written() erased every record of the line and added only the pieces written in this save, while the scenery writes
only the tracks changed since. After a gizmo move and Ctrl+Z on one track of a line, the next save kept a record of that
track alone: on reopening the line owned one track, and the next Plan edit left the others as duplicates. The records of
the tracks the line still has and this save didn't write now stay.
- model_run() kept each command before trying the next: with the radius of one vertex carried out and the cant of the next
refused, the first stayed changed under "Refused, nothing changed". Several commands are now all tried on a copy first.
- The fingerprint of the scenario index made a string of every file name before its .scn filter, which throws on Windows
outside of the code page, on a detached thread (the class of GE#560). The extension is looked at first, as in the index
itself; scenery_text::name_of() and has_extension() are shared by both.
- A Del deferred by the check of the scenarios reads Shift as it was at the key press, not at the click on "go on".
- open_project() writes no project file for a map with nothing to migrate (#461): the session test expects that.
lay_panel_state() told the line laid from laid_step == m_history.size(). Lay, Ctrl+Z, then any one-step edit made the size the
same again, and the panel said "Laid … Ctrl+Z undoes" for a line that was gone; at the cap of 200 steps it stayed "laid" for
good. The panel now compares the serial of the step on top of the history (EditorSnapshot::serial), which each step made has
of its own.
Traced on the photo the points are clicked sparsely, every 100-300 m, the ground rising and falling between them: laid through the
points, from one height clicked to the next, the track went into the ground between them (193 m of the line of the shots over
Warszawa Zachodnia). In the shape from the photo the heights are fitted to the ground within the norms (Fitted, "Łagodnie po
terenie") till the user chooses them in this run; then as chosen, the bends keep the setting as before.
- click_heights::heights_for: the rule. lay_heights_now() gives the heights of the lay tool, its free end dragged too: the panel
shows them, the line, its preview, its summary and the grade line fitted to the terrain model follow them. Choosing them in the
panel, or layheights of a self-test, is the user's choice.
Tests: U: from the photo fitted unless chosen, the bends the setting. E: tr_1 expects the heights fitted; expect layheights.
The terrain is made around the cursor from the first point of a track laid, in the background since the photo begins a scenery with
no question: the first point clicked in an empty place had no ground under it, its height a guess (the flat ground, the ground
nearby), and the points after it came on the terrain made meanwhile. The line was laid from the guessed height to the real one: a
grade of thousands per mille at the second point, the track hidden in the ground there (the shots over Warszawa Zachodnia).
- click_heights (editorClickHeights): where the height of each point came from, the ground, none yet, level with the point before,
or a track's end; the points of none take the height of the ground once it's there under them, the level ones go along, the rest
are kept. Enter waits while the terrain is on its way under such a point, 10 s at most.
- The lay tool, in any shape: lay_bed tells where the height of the cursor came from, each point clicked keeps it. Every frame the
points of a guessed height read the ground again (from above, as the cursor does: the terrain may lie far over the guess), the
line shown and its checks follow them. A point laid isn't touched.
- Enter, or a free end reached, with the terrain still coming under such a point (its chunk waiting, or not asked for yet within the
download area): the panel says "Waiting for the terrain under the points...", the line is laid as it comes; Esc gives the wait up
keeping the points, Enter again lays without waiting.
Tests: U: the points re-read once the ground is there, the others kept, the level ones along, Enter's wait. E: tr_6_terrain_late
(nmtsettings hold holds the terrain of the NMT back, the case makes the terrain itself: the wait, Esc, laid once the terrain came; a
first point clicked before the terrain, no jump in the grade at the second); expect laywait, layguessed, laid steepest.
nmt_decline_offer() turned off terrain_while_laying and terrain_model().area in the settings of the editor and saved them, so
one Without terrain for a scratch scenery left the terrain off for every scenery opened later. The answer now holds for the
scenery open only (nmt_state::declined, read through nmt_area()); the checkbox of the terrain panel shows it and, ticked, turns
the terrain on again and keeps it in the settings. The nmtquestion self-test no longer writes the tester's settings, and fails
the run if the answer changed them.
- TSI INF and EN 13803 limit an abrupt change of the cant deficiency but give no intermediate length, so two jumps a few metres
apart were each checked alone: at km 478 of the golden line CH reported 191 mm over the TSI limit, TSI itself nothing. With
no intermediate length in the profiles of the element, the longest any profile asks for is taken. The golden report changes
that way: TSI gets the 191 mm hard limit at km 478, EN reports it instead of 106 and 85 mm one by one.
- forget() moves the span whose findings alone are kept (a diverging track) down by the spans removed before it, and drops a
queued line whose own span was removed, instead of leaving the index on another span.
- The report test of R 400 / 80 mm runs at 90 km/h and requires the finding: at 80 km/h there was none and the check never ran.
- A blank line or an indented `#` comment in a script is no longer a command no group takes.
- `trackcant`, `routegauge` and `tracksetdelete` with a track that isn't there count as a failed expectation.
- `expect shaped <switch> <yes|no>`: 7b checks that the gizmo drag bent the switch out of its record before deleting it.
- The ramp-length loop of test_alignment counts in an integer (Sonar S2193).
quirky-crafting-summit, Etap 4: the lesson Curves (Tab to trace a curve) is Laying from the photo: click along the track on the photo,
the labels, the orange one, Backspace, Enter going on, Tab to the bends; its goals a few points clicked along the track and Enter, no
Tab. The lessons of the lay tool start with it while the shape is the one from the photo. F1 tells L, Tab and Enter of the laying from
the photo; the drag from a free end has no Tab any more. The clip of the curves (Tab) isn't shown till one of the photo is recorded.
lang/editor_pl.po: the Polish of the lesson and of F1, the texts of the old lesson gone.
quirky-crafting-summit, Etap 2. The lay tool has two shapes, From the photo and Bends: from the photo where the photo is on, the bends
without it, Tab switching them for the points clicked so far and on. The curve traced between bends (Tab) and its radii Auto/1R/2R/3R
are gone from the panel; the radii are changed in Plan afterwards.
- From the photo the points clicked go to the tracer (editor/editorTrace), each with the noise of two pixels of the view at it; the line
shown is the one of the points clicked, worked out once for them, a dashed leg to the cursor. On the view: "straight 420 m", "curve R
850 m", "nearly straight · curve R 9 km", "compound curve R 600/450 m", "R 300 m · up to 70 km/h" in orange; the points green, yellow
or red by how far the line is from them in their noise, one which doesn't fit yellow and ringed, "doesn't fit - Backspace takes it
back" by the cursor.
- A curve sharper than the norms at the speed of the line is laid slowed down: its tracks and its transitions get its speed, told in the
status. One below the least radius of the kind of the track (the block of the norms) isn't laid, Lay disabled, the points kept; It's a
side track offered where a side track may be that sharp (no profile has it so now).
- After Enter the tool stays at the end laid: the next clicks carry the line on from its free end, joined to it, with no need to hit the
ring; Esc ends it. A free end is reached within 1 m on the ground only, not the end of the track beside.
- The first point turns the view from above on; a click in the outer 15 % of the view glides the view on by half of what the point is off
its middle.
- The step: Click along the middle of the track on the photo: every 100-300 m on straights, closer on curves. Enter lays. The bar under
the view: LMB a point on the track, Enter lay, Backspace take back.
- A tool key (G, T, N...) over points not laid warns as Esc does, the second press within 3 s goes; Enter over a single point clicked
tells to click two instead of dropping it silently.
- With the editing on the model the line traced is laid the old way, told so, as the curve traced was.
Self-test: laymode traced|default, laysigma <m>; laysample lays out curves of the norms, compound ones too, and clicks them traced (no
Tab); laywalk clicks traced; expect laid curves|clicks|length|radius|speed|nearly|slowtracks|joined, expect laykeys <tabs> <enters>,
expect laycontinue; a self-test starts with the bends, whatever the orthophoto of the player's settings. The cases tr_1_three_curves
(3.2 km, three curves, 16 clicks, no Tab, one Enter), tr_2_nearly_straight (R 9 km), tr_3_compound (R 600/400), tr_4_below_norms (R 300
at 120 km/h laid for 70, R 150 refused), tr_5_continue. lf_1_lay_panel_states goes through the shape from the photo in place of the
curve traced, which the panel has no more.
lang/editor_pl.po: the Polish of the new texts; the ones of the curve traced and of its radii gone, the eight of the plan which no
source had any more among them.
The 3d scene is drawn under the whole window and the windows took the opacity of the simulator's interface (ui.bg.opacity,
0.65 in the ini of the game): the tracks and the models beside the view showed through the docks around it. The editor's
windows are opaque now; the ones over the view meant to be seen through set their own alpha as before. The simulator keeps
ui.bg.opacity for its own interface.
ph_1: the photo turned off with the button of the toolbar stays off over the wizard's //$o on 1 when the scenery is opened
again, on again after the next. ph_2: the first L in a scenery placed on the map asks nothing, the terrain loads in the
background with its line in the panel of the laying, Without terrain stops it. ph_3: the tracks drawn over the photo in the top
view zoomed in under 0.5 m a pixel, not without the photo. ph_4: the button and ~ are the user's choice, the terrain of the model
made afterwards doesn't turn the photo on again, F1 opens.
fs_3 still checks the answer Without terrain, now the button of the line which took the place of the question in a window, and
that no window asks. New for the scripts: expect photo <on|chosen|zoom4k|tracksover>, expect terrain <loading|question>,
toolbar <key|name>, orthophoto forget, and the key grave (~) for tap.
The toolbar of the tracks has the photo: its button shows or hides it for the scenery, as the user's choice, and while it's
shown over the view a slider of its opacity is beside it, kept with the editor. ~ (and Ctrl+~, which turns it on to hurry the
view's tiles) count as the user's choice now: turned off with ~, the terrain model made afterwards no longer turned it on
again behind the user. ~ and Ctrl+~ are listed in F1 with the camera.
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.