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

@@ -1218,7 +1218,7 @@ bool PhysicsDirect::submitClientCommand(const struct SharedMemoryCommand& comman
if (m_data->m_ownsCommandProcessor)
{
CommandProcessorInterface *commandProcessor = (CommandProcessorInterface *)m_data->m_commandProcessor;
commandProcessor->tickPlugins();
commandProcessor->reportNotifications();
}
/*if (hasStatus)
{