mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-27 16:19:34 +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;
|
||||
%asset = %payload.assetName;
|
||||
|
||||
%oldValue = %targetObject.shapeAsset;
|
||||
%oldValue = %this.targetObject.shapeAsset;
|
||||
%arrayIndex = "";
|
||||
|
||||
%targetObject = %this.targetObject;
|
||||
|
|
|
|||
|
|
@ -104,7 +104,6 @@ function AssetBrowser::loadCreatorClasses(%this)
|
|||
%guiClasses.add(%category, %className);
|
||||
}
|
||||
|
||||
%guiCats.sortk(true);
|
||||
%guiClasses.sortk(true);
|
||||
|
||||
%guiClasses.echo();
|
||||
|
|
@ -162,8 +161,7 @@ function AssetBrowser::addCreatorClass(%this, %class, %name, %buildfunc)
|
|||
if ( %name $= "" )
|
||||
%name = %class;
|
||||
|
||||
if ( %this.currentCreatorGroup !$= "" && %group $= "" )
|
||||
%group = %this.currentCreatorGroup;
|
||||
%group = %this.currentCreatorGroup;
|
||||
|
||||
if ( %class $= "" || %group $= "" )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue