Skip to content

Commit

Permalink
Merge pull request #1942 from Areloch/forestEditingFixes
Browse files Browse the repository at this point in the history
Fixes some issues with forest editor.
  • Loading branch information
Areloch authored Feb 5, 2017
2 parents 3717e3b + 2db03e4 commit b6cbac0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Engine/source/forest/editor/forestSelectionTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ void ForestSelectionTool::_selectItem( const ForestItem &item )

void ForestSelectionTool::deleteSelection()
{
if (!mEditor)
return;

ForestDeleteUndoAction *action = new ForestDeleteUndoAction( mForest->getData(), mEditor );

for ( U32 i=0; i < mSelection.size(); i++ )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
objectNamesOnly = "1";
useInspectorTooltips = "0";
tooltipOnWidthOnly = "0";
compareToObjectID = "1";
compareToObjectID = "0";
canRenameObjects = "1";
renameInternal = "0";
isContainer = "1";
Expand Down
2 changes: 1 addition & 1 deletion Templates/Full/game/tools/forestEditor/forestEditorGui.gui
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
objectNamesOnly = "1";
useInspectorTooltips = "0";
tooltipOnWidthOnly = "0";
compareToObjectID = "1";
compareToObjectID = "0";
canRenameObjects = "1";
renameInternal = "0";
isContainer = "1";
Expand Down

0 comments on commit b6cbac0

Please sign in to comment.