| 96 | ResourceRegisterUnloadSignal< TSShape > TSShapeConstructor::_smAutoUnload(&TSShapeConstructor::_onTSShapeUnloaded); |
| 97 | |
| 98 | void TSShapeConstructor::_onTSShapeLoaded(Resource< TSShape >& resource) |
| 99 | { |
| 100 | TSShapeConstructor* ctor = findShapeConstructorByFilename(resource.getPath().getFullPath()); |
| 101 | if (ctor) |
| 102 | ctor->_onLoad(resource); |
| 103 | |
| 104 | if (ctor && ctor->mShape && ctor->mShape->needsReinit()) |
| 105 | { |
| 106 | ctor->mShape->init(); |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | void TSShapeConstructor::_onTSShapeUnloaded(const Torque::Path& path, TSShape* shape) |
| 111 | { |
nothing calls this directly
no test coverage detected