mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ bool TSShapeConstructor::onAdd()
|
||||||
mShapeAsset = mShapeAssetId;
|
mShapeAsset = mShapeAssetId;
|
||||||
if (mShapeAsset.notNull())
|
if (mShapeAsset.notNull())
|
||||||
{
|
{
|
||||||
Resource<TSShape> shape = mShapeAsset->getShapeResource();
|
TSShape* shape = mShapeAsset->getShape();
|
||||||
|
|
||||||
if (shape)
|
if (shape)
|
||||||
_onLoad(shape);
|
_onLoad(shape);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue