mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-28 08:39:34 +00:00
crashfix work for hot-editing shape assets tied to tsstatics
This commit is contained in:
parent
cc6bf16d95
commit
3ace31c68c
10 changed files with 15 additions and 11 deletions
|
|
@ -304,8 +304,6 @@ void ShapeAsset::_onResourceChanged(const Torque::Path &path)
|
|||
return;
|
||||
|
||||
refreshAsset();
|
||||
|
||||
onAssetRefresh();
|
||||
}
|
||||
|
||||
U32 ShapeAsset::load()
|
||||
|
|
@ -534,6 +532,9 @@ void ShapeAsset::onAssetRefresh(void)
|
|||
// Update.
|
||||
if(!Platform::isFullPath(mFileName))
|
||||
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