Skip to content

Commit cbf6c5b

Browse files
committed
More accurate tracking, we shouldn't be clearing known MOs here
1 parent eb9e300 commit cbf6c5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Managers/MovableMan.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ void MovableMan::PurgeAllMOs()
305305
m_AddedAlarmEvents.clear();
306306
m_AlarmEvents.clear();
307307
m_MOIDIndex.clear();
308-
m_KnownObjects.clear();
308+
// We want to keep known objects around, 'cause these can exist even when not in the simulation (they're here from creation till deletion, regardless of whether they are in sim)
309+
//m_KnownObjects.clear();
309310
}
310311

311312

0 commit comments

Comments
 (0)