mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
fix asset refresh on materialAssets
This commit is contained in:
parent
4d14610753
commit
fc30d178af
3 changed files with 13 additions and 31 deletions
|
|
@ -334,7 +334,6 @@ void ImageAsset::onAssetRefresh(void)
|
|||
// Call parent.
|
||||
Parent::onAssetRefresh();
|
||||
|
||||
//mLoadedState = NotLoaded;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
@ -577,7 +576,7 @@ void ImageAsset::onTamlPreWrite(void)
|
|||
return;
|
||||
|
||||
// Ensure the image-file is collapsed.
|
||||
mImageFile = getOwned() ? collapseAssetFilePath(mImageFile) : mImageFile;
|
||||
mImageFile = collapseAssetFilePath(mImageFile);
|
||||
}
|
||||
|
||||
void ImageAsset::onTamlPostWrite(void)
|
||||
|
|
@ -589,7 +588,7 @@ void ImageAsset::onTamlPostWrite(void)
|
|||
return;
|
||||
|
||||
// Ensure the image-file is expanded.
|
||||
mImageFile = getOwned() ? expandAssetFilePath(mImageFile) : mImageFile;
|
||||
mImageFile = expandAssetFilePath(mImageFile);
|
||||
}
|
||||
|
||||
const char* ImageAsset::getImageInfo()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue