Changes tickPlugins to reportNotifications and only calls the processNotifications function on the plugins when there are actually notifications available. tickPlugins will to into a separate PR.

This commit is contained in:
Tigran Gasparian
2018-07-25 14:47:34 +02:00
parent f745eafb36
commit 35a55b2056
9 changed files with 24 additions and 19 deletions

View File

@@ -472,7 +472,7 @@ void MotionThreadFunc(void* userPtr,void* lsMemory)
numCmdSinceSleep1ms++;
}
args->m_physicsServerPtr->tickPlugins();
args->m_physicsServerPtr->reportNotifications();
args->m_cs->lock();
cachedSharedParam = args->m_cs->getSharedParam(0);