mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Source changes needed for Linux build.
This commit is contained in:
parent
109a766748
commit
d2700f881c
16 changed files with 73 additions and 27 deletions
|
|
@ -33,7 +33,9 @@
|
|||
#include "platform/event.h"
|
||||
#include "gfx/gfxDrawUtil.h"
|
||||
#include "gui/controls/guiTextEditCtrl.h"
|
||||
#include "gui/editor/editorFunctions.h"
|
||||
#ifdef TORQUE_TOOLS
|
||||
#include "gui/editor/editorFunctions.h"
|
||||
#endif
|
||||
#include "console/engineAPI.h"
|
||||
|
||||
|
||||
|
|
@ -4042,7 +4044,10 @@ void GuiTreeViewCtrl::onRenderCell(Point2I offset, Point2I cell, bool, bool )
|
|||
// If this item is a VirtualParent we can use the generic SimGroup123 icons.
|
||||
// However if there is already an icon in the EditorIconRegistry for this
|
||||
// exact class (not counting parent class icons) we want to use that instead.
|
||||
bool hasClassIcon = gEditorIcons.hasIconNoRecurse( pObject );
|
||||
bool hasClassIcon = false;
|
||||
#ifdef TORQUE_TOOLS
|
||||
hasClassIcon = gEditorIcons.hasIconNoRecurse( pObject );
|
||||
#endif
|
||||
|
||||
// draw the icon associated with the item
|
||||
if ( !hasClassIcon && item->mState.test(Item::VirtualParent))
|
||||
|
|
@ -5280,7 +5285,10 @@ void GuiTreeViewCtrl::onRenameValidate()
|
|||
|
||||
if ( mRenameInternal )
|
||||
obj->setInternalName( data );
|
||||
else if ( validateObjectName( data, obj ) )
|
||||
else
|
||||
#ifdef TORQUE_TOOLS
|
||||
if ( validateObjectName( data, obj ) )
|
||||
#endif
|
||||
obj->assignName( data );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue