17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 02:49:19 +02:00

feat(editor): vertical profile editor, grade lines kept in the scenery

This commit is contained in:
maj00r
2026-10-04 00:14:03 +02:00
parent cdd5c242d1
commit 7371b18910
14 changed files with 2591 additions and 76 deletions

View File

@@ -1021,6 +1021,8 @@ bool editor_mode::update()
draw_build_overlay();
draw_track_hints();
render_track_window();
draw_profile_overlay();
render_profile_window();
}
// --- area fill: outline overlay while the mode is active (its settings are drawn in the node bank window) ---
@@ -1633,6 +1635,8 @@ void editor_mode::save()
}
}
if (m_profile.changed)
profile_store();
auto const result = scene::Layers.save(rootstatements);
if (result.success && false == rootstatements.empty())
{