mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Merge pull request #1942 from Areloch/forestEditingFixes
Fixes some issues with forest editor.
This commit is contained in:
commit
b6cbac0a08
3 changed files with 5 additions and 2 deletions
|
|
@ -197,6 +197,9 @@ void ForestSelectionTool::_selectItem( const ForestItem &item )
|
||||||
|
|
||||||
void ForestSelectionTool::deleteSelection()
|
void ForestSelectionTool::deleteSelection()
|
||||||
{
|
{
|
||||||
|
if (!mEditor)
|
||||||
|
return;
|
||||||
|
|
||||||
ForestDeleteUndoAction *action = new ForestDeleteUndoAction( mForest->getData(), mEditor );
|
ForestDeleteUndoAction *action = new ForestDeleteUndoAction( mForest->getData(), mEditor );
|
||||||
|
|
||||||
for ( U32 i=0; i < mSelection.size(); i++ )
|
for ( U32 i=0; i < mSelection.size(); i++ )
|
||||||
|
|
|
||||||
|
|
@ -252,7 +252,7 @@
|
||||||
objectNamesOnly = "1";
|
objectNamesOnly = "1";
|
||||||
useInspectorTooltips = "0";
|
useInspectorTooltips = "0";
|
||||||
tooltipOnWidthOnly = "0";
|
tooltipOnWidthOnly = "0";
|
||||||
compareToObjectID = "1";
|
compareToObjectID = "0";
|
||||||
canRenameObjects = "1";
|
canRenameObjects = "1";
|
||||||
renameInternal = "0";
|
renameInternal = "0";
|
||||||
isContainer = "1";
|
isContainer = "1";
|
||||||
|
|
|
||||||
|
|
@ -252,7 +252,7 @@
|
||||||
objectNamesOnly = "1";
|
objectNamesOnly = "1";
|
||||||
useInspectorTooltips = "0";
|
useInspectorTooltips = "0";
|
||||||
tooltipOnWidthOnly = "0";
|
tooltipOnWidthOnly = "0";
|
||||||
compareToObjectID = "1";
|
compareToObjectID = "0";
|
||||||
canRenameObjects = "1";
|
canRenameObjects = "1";
|
||||||
renameInternal = "0";
|
renameInternal = "0";
|
||||||
isContainer = "1";
|
isContainer = "1";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue