mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-08 17:26:22 +01:00
fix(editor): the records of the stations, the switches, the alignments and the kilometrage stay out of a _ter.scm too, as out of a .txtf: with the .sbt of the scenery the file loads as terrain, isn't written back and the changes kept there were lost
This commit is contained in:
@@ -104,8 +104,8 @@ std::optional<std::vector<record>> take_changes();
|
||||
void settle();
|
||||
// puts the records back as they were, for undo and redo
|
||||
void restore(std::vector<record> Records);
|
||||
// layer the editor keeps the records of the track in: its own, unless it's a terrain file (.txtf), whose binary version
|
||||
// (.btf) the editor doesn't read the records from
|
||||
// layer the editor keeps the records of the track in: its own, unless it's a terrain file: a .txtf, whose binary version (.btf)
|
||||
// the editor doesn't read the records from, or a _ter.scm, which isn't written back while the scenery has its .sbt
|
||||
scene::layer_handle layer_of(TTrack const &Track);
|
||||
|
||||
} // namespace alignment_store
|
||||
|
||||
Reference in New Issue
Block a user