From a64a348054ee0e3dccfb167afd93a62072726112 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Sun, 29 Jan 2017 14:32:23 +0100 Subject: [PATCH] SceneTreeDock: Fix crash when dragging invalid nodes. Fixes #7529 --- tools/editor/scene_tree_dock.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/editor/scene_tree_dock.cpp b/tools/editor/scene_tree_dock.cpp index b3e4c8ed70c..7eb9836648d 100644 --- a/tools/editor/scene_tree_dock.cpp +++ b/tools/editor/scene_tree_dock.cpp @@ -1760,7 +1760,9 @@ void SceneTreeDock::_nodes_dragged(Array p_nodes,NodePath p_to,int p_type) { for(int i=0;i