mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Establishes a common namespace for Module ScopeSet objects to make it easier to work with function calls out of module namespaces
This commit is contained in:
parent
6f0a93bdcc
commit
00c27095f7
2 changed files with 13 additions and 9 deletions
|
|
@ -385,6 +385,8 @@ bool ModuleManager::loadModuleGroup( const char* pModuleGroup )
|
|||
// Create a scope set.
|
||||
SimSet* pScopeSet = new SimSet;
|
||||
pScopeSet->registerObject( pLoadReadyModuleDefinition->getModuleId() );
|
||||
pScopeSet->setClassNamespace("ModuleRoot");
|
||||
|
||||
pReadyEntry->mpModuleDefinition->mScopeSet = pScopeSet->getId();
|
||||
|
||||
// Increase load count.
|
||||
|
|
@ -773,6 +775,8 @@ bool ModuleManager::loadModuleExplicit( const char* pModuleId, const U32 version
|
|||
// Create a scope set.
|
||||
SimSet* pScopeSet = new SimSet;
|
||||
pScopeSet->registerObject( pLoadReadyModuleDefinition->getModuleId() );
|
||||
pScopeSet->setClassNamespace("ModuleRoot");
|
||||
|
||||
pReadyEntry->mpModuleDefinition->mScopeSet = pScopeSet->getId();
|
||||
|
||||
// Increase load count.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue