mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Merge pull request #1188 from Azaezel/alpha41/StopShapeSpam
don't trigger shape load during shape loading
This commit is contained in:
commit
f158fc78e8
|
|
@ -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…
Reference in a new issue