crashfix work for hot-editing shape assets tied to tsstatics

This commit is contained in:
AzaezelX 2024-04-06 14:48:22 -05:00
parent cc6bf16d95
commit 3ace31c68c
10 changed files with 15 additions and 11 deletions

View file

@ -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)