| 82 | ResourceRegisterUnloadSignal< TSShape > TSShapeConstructor::_smAutoUnload( &TSShapeConstructor::_onTSShapeUnloaded ); |
| 83 | |
| 84 | void TSShapeConstructor::_onTSShapeLoaded( Resource< TSShape >& resource ) |
| 85 | { |
| 86 | TSShapeConstructor* ctor = findShapeConstructor( resource.getPath().getFullPath() ); |
| 87 | if( ctor ) |
| 88 | ctor->_onLoad( resource ); |
| 89 | |
| 90 | if (ctor && ctor->mShape && ctor->mShape->needsReinit()) |
| 91 | { |
| 92 | ctor->mShape->init(); |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | void TSShapeConstructor::_onTSShapeUnloaded( const Torque::Path& path, TSShape* shape ) |
| 97 | { |
nothing calls this directly
no test coverage detected