mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-03 01:30:16 +01:00
feat(editor): the terrain of the tracks in the panel of the tracks: Draw the terrain to the track, of the selected tracks or of their whole run, Restore the terrain, each one step of the history, the terrain following the tracks edited or not, and Tracks onto the terrain and Terrain under the tracks for all the tracks of the scenery
The formation of a track as it is already was taken out of the terrain when the track was shaped again, as after a change of its properties alone: the formations the tracks still have are no longer counted as gone. Selftest trackterrain pull|restore <tracks>.
This commit is contained in:
@@ -751,6 +751,7 @@ void editor_mode::render_track_selection()
|
||||
if (false == sheet)
|
||||
return;
|
||||
render_track_select_tools(tracks);
|
||||
render_track_terrain(tracks);
|
||||
render_track_style(tracks);
|
||||
render_track_properties(tracks);
|
||||
ImGui::Spacing();
|
||||
@@ -1451,6 +1452,7 @@ void editor_mode::render_path_ui()
|
||||
}
|
||||
std::vector<TTrack *> const tracks{track};
|
||||
render_track_select_tools(tracks);
|
||||
render_track_terrain(tracks);
|
||||
render_track_style(tracks);
|
||||
render_track_properties(tracks);
|
||||
render_path_events(*track);
|
||||
|
||||
Reference in New Issue
Block a user