Merge pull request #7035 from volzhs/undo-redo-duplicate

Prevent to make UndoRedo for duplicate if no selected node
This commit is contained in:
Rémi Verschelde 2016-11-06 12:09:49 +01:00 committed by GitHub
commit a4570cb461

View file

@ -517,6 +517,8 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
break;
List<Node*> selection = editor_selection->get_selected_node_list();
if (selection.size()==0)
break;
List<Node*> reselect;