mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
don't trigger shape load during shape loading
This commit is contained in:
parent
ed47f174bc
commit
4ae2cf7413
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ bool TSShapeConstructor::onAdd()
|
|||
mShapeAsset = mShapeAssetId;
|
||||
if (mShapeAsset.notNull())
|
||||
{
|
||||
Resource<TSShape> shape = mShapeAsset->getShapeResource();
|
||||
TSShape* shape = mShapeAsset->getShape();
|
||||
|
||||
if (shape)
|
||||
_onLoad(shape);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue