mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
various fixes around preview assets and imageassets text field
Imageasset text field now displays correctly in inspector previews now use assets again assetBrowser hides previewCache folder
This commit is contained in:
parent
dfbfe094bb
commit
50f74368b3
6 changed files with 121 additions and 35 deletions
|
|
@ -258,7 +258,7 @@ function AssetBrowser::initialize(%this)
|
|||
|
||||
if(!isObject(%this.dirHandler))
|
||||
{
|
||||
%this.dirHandler = makedirectoryHandler(%this-->filterTree, "cache,shaderCache", "");
|
||||
%this.dirHandler = makedirectoryHandler(%this-->filterTree, "cache,shaderCache,previewCache", "");
|
||||
%this.dirHandler.currentAddress = "data/";
|
||||
}
|
||||
|
||||
|
|
@ -1613,7 +1613,7 @@ function AssetBrowser::doRebuildAssetArray(%this)
|
|||
else
|
||||
{
|
||||
//got it.
|
||||
if(%folderName $= "shaderCache" || %folderName $= "cache" || %folderName $= ".git")
|
||||
if(%folderName $= "shaderCache" || %folderName $= "cache" || %folderName $= ".git" || %folderName $= "previewCache")
|
||||
continue;
|
||||
|
||||
if(!%this.coreModulesFilter && %folderName $= "core" && %breadcrumbPath $= "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue