mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-24 05:45:40 +00:00
is named target
clear out texHandles on teardown of imageAssets.
This commit is contained in:
parent
18b1b6d1d0
commit
f86497434e
3 changed files with 11 additions and 3 deletions
|
|
@ -4,8 +4,8 @@ function ImageAsset::buildBrowserElement(%this, %previewData)
|
|||
{
|
||||
//%module = %this.dirHandler.getModuleFromAddress(makeRelativePath(filePath(%assetDef.getImagePath())));
|
||||
|
||||
%previewData.previewImage = "ToolsModule:genericAssetIcon_image";
|
||||
%previewData.previewLoaded = false; //this marks it for loading progressively later
|
||||
%previewData.previewImage = %this.isNamedTarget() ? "Core_Rendering:namedTarget_image" : "ToolsModule:genericAssetIcon_image";
|
||||
%previewData.previewLoaded = %this.isNamedTarget() ? true : false;//this marks it for loading progressively later
|
||||
|
||||
%previewData.assetName = %this.assetName;
|
||||
%previewData.assetPath = %this.scriptFile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue