mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-29 02:17:28 +01:00
feat(editor): the whole-scenery grade fit sets the tracks over a bridge or a viaduct to the bridge environment
Where the terrain model falls away under a fitted line by the abutments, the paths are cut off at the ends of the stretch as the line is applied and set to the bridge, in the same step of the history: they sound as on a bridge, get no formation and the terrain under them stays as the model has it, also after the scenery is saved and opened again. Tunnels and tracks set to the bridge already are left as they are. The status says how many paths went on a bridge.
This commit is contained in:
@@ -2288,8 +2288,9 @@ class editor_mode : public application_mode, private editor_track::observer, pri
|
||||
void profile_restore_ground();
|
||||
void render_profile_earthworks();
|
||||
void profile_check();
|
||||
// Terrain: the heightmap terrain follows the tracks changed
|
||||
void profile_apply(bool const Terrain = false);
|
||||
// Terrain: the heightmap terrain follows the tracks changed. Bridges: stretches of the route over a bridge or a viaduct, the
|
||||
// paths over them cut off at their ends and set to the bridge environment
|
||||
void profile_apply(bool const Terrain = false, std::vector<profile::departure> const &Bridges = {});
|
||||
// the terrain under the tracks changed by the last Edits steps of the history which changed tracks
|
||||
void profile_follow_terrain(std::size_t const Edits);
|
||||
void profile_fit_view();
|
||||
|
||||
Reference in New Issue
Block a user