mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 17:37:09 +01:00
Merge branch 'feat/editor-model-turnouts-ui' into feat/editor-project-setup
# Conflicts: # tests/editor/README.md
This commit is contained in:
@@ -1888,6 +1888,9 @@ void editor_mode::render_settings()
|
||||
ImGui::SetTooltip("%s", STR_C("A line laid in the straights, or applied by the route design, becomes a line of the model of the track geometry: its tracks are made by the model, "
|
||||
"its edits checked against the norms and refused with the reasons, the project of the map kept next to it.\n"
|
||||
"The tracks there were stay as they are, edited the old way. Off, the editor works as it did"));
|
||||
// taken when a scenery is opened: changed meanwhile, the model and the scene would go out of step
|
||||
if (model != model_taken())
|
||||
ImGui::TextDisabled("%s", STR_C("Takes effect with the next scenery opened"));
|
||||
if (auto const error{model_error()}; model && false == error.empty())
|
||||
ImGui::TextColored(ImVec4(1.0f, 0.6f, 0.2f, 1.0f), "%s", format(STR_C("The project of the map can't be opened: %s"), error.c_str()).c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user