mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Integrate new CInterface into the engine-console
This commit is contained in:
parent
8cdad51639
commit
cd06f569fa
6 changed files with 67 additions and 8 deletions
|
|
@ -455,6 +455,15 @@ bool ModuleManager::loadModuleGroup( const char* pModuleGroup )
|
|||
moduleGroup, pLoadReadyModuleDefinition->getModuleId(), pLoadReadyModuleDefinition->getVersionId(), pLoadReadyModuleDefinition->getModuleScriptFilePath() );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Is the create method available?
|
||||
if (pScopeSet->isMethod(pLoadReadyModuleDefinition->getCreateFunction()))
|
||||
{
|
||||
// Yes, so call the create method.
|
||||
Con::executef(pScopeSet, pLoadReadyModuleDefinition->getCreateFunction());
|
||||
}
|
||||
}
|
||||
|
||||
// Raise notifications.
|
||||
raiseModulePostLoadNotifications( pLoadReadyModuleDefinition );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue