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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user