mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Minor corrections for localvar issues
This commit is contained in:
parent
b9c071b9fd
commit
140c575f47
2 changed files with 2 additions and 4 deletions
|
|
@ -375,7 +375,7 @@ function GuiInspectorTypeShapeAssetPtr::onControlDropped( %this, %payload, %posi
|
||||||
%module = %payload.moduleName;
|
%module = %payload.moduleName;
|
||||||
%asset = %payload.assetName;
|
%asset = %payload.assetName;
|
||||||
|
|
||||||
%oldValue = %targetObject.shapeAsset;
|
%oldValue = %this.targetObject.shapeAsset;
|
||||||
%arrayIndex = "";
|
%arrayIndex = "";
|
||||||
|
|
||||||
%targetObject = %this.targetObject;
|
%targetObject = %this.targetObject;
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,6 @@ function AssetBrowser::loadCreatorClasses(%this)
|
||||||
%guiClasses.add(%category, %className);
|
%guiClasses.add(%category, %className);
|
||||||
}
|
}
|
||||||
|
|
||||||
%guiCats.sortk(true);
|
|
||||||
%guiClasses.sortk(true);
|
%guiClasses.sortk(true);
|
||||||
|
|
||||||
%guiClasses.echo();
|
%guiClasses.echo();
|
||||||
|
|
@ -162,8 +161,7 @@ function AssetBrowser::addCreatorClass(%this, %class, %name, %buildfunc)
|
||||||
if ( %name $= "" )
|
if ( %name $= "" )
|
||||||
%name = %class;
|
%name = %class;
|
||||||
|
|
||||||
if ( %this.currentCreatorGroup !$= "" && %group $= "" )
|
%group = %this.currentCreatorGroup;
|
||||||
%group = %this.currentCreatorGroup;
|
|
||||||
|
|
||||||
if ( %class $= "" || %group $= "" )
|
if ( %class $= "" || %group $= "" )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue