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

feat(editor): track editor saves changed paths to scenery

This commit is contained in:
maj00r
2026-10-03 02:25:28 +02:00
parent 38161572b4
commit 676bf39136
3 changed files with 74 additions and 0 deletions

View File

@@ -497,6 +497,7 @@ state_serializer::deserialize_node( cParser &Input, scene::scratch_data &Scratch
}
scene::Groups.insert( scene::Groups.handle(), path );
simulation::Region->insert_and_register( path );
scene::Layers.track( path, { sourcebegin, Input.TokenEnd() } );
}
else if( nodedata.type == "traction" ) {