mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
need to set state to ok post-load and pre-changesignal callback
This commit is contained in:
parent
3ace31c68c
commit
5ff83138cf
3 changed files with 2 additions and 12 deletions
|
|
@ -417,9 +417,10 @@ U32 ShapeAsset::load()
|
|||
}
|
||||
}
|
||||
|
||||
mLoadedState = Ok;
|
||||
|
||||
mChangeSignal.trigger();
|
||||
|
||||
mLoadedState = Ok;
|
||||
return mLoadedState;
|
||||
}
|
||||
|
||||
|
|
@ -534,7 +535,6 @@ void ShapeAsset::onAssetRefresh(void)
|
|||
mFilePath = getOwned() ? expandAssetFilePath(mFileName) : mFilePath;
|
||||
|
||||
load();
|
||||
//onAssetRefresh();
|
||||
}
|
||||
|
||||
void ShapeAsset::SplitSequencePathAndName(String& srcPath, String& srcName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue