17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-24 22:37:36 +02:00

fix(track): 3D sleepers let go of the beams of the tracks far away

This commit is contained in:
2026-10-21 18:19:21 +02:00
parent 83c8c23c80
commit 9c2520ea52
7 changed files with 65 additions and 5 deletions

View File

@@ -227,4 +227,10 @@ void settle_background() {
worker().settle();
}
void forget_layout( TTrack const &Track ) {
std::lock_guard<std::mutex> lock { clusters_mutex() };
known_clusters().erase( &Track );
}
} // namespace track_sleepers