mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Update assetBrowser.tscript
remove spam from debug echos
This commit is contained in:
parent
bfe2401ebb
commit
9cf17ae9a0
|
|
@ -2772,7 +2772,6 @@ function AssetBrowser::importLooseFiles(%this)
|
|||
|
||||
function getAssetPreviewImage(%asset)
|
||||
{
|
||||
echo(%asset);
|
||||
if(isFile(%asset))
|
||||
{
|
||||
%aq = new AssetQuery();
|
||||
|
|
@ -2794,7 +2793,6 @@ function getAssetPreviewImage(%asset)
|
|||
%moduleName = AssetDatabase.getAssetModule(%asset).ModuleId;
|
||||
%assetName = AssetDatabase.getAssetName(%asset);
|
||||
%previewAssetName = "ToolsModule:" @ %moduleName @ "_" @ %assetName @ "_PreviewImage";
|
||||
echo(%previewAssetName);
|
||||
if(AssetDatabase.isDeclaredAsset(%previewAssetName))
|
||||
{
|
||||
%previewDef = AssetDatabase.acquireAsset(%previewAssetName);
|
||||
|
|
|
|||
Loading…
Reference in a new issue