summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorDmitry Koteroff <vortex@verona.im>2017-12-11 02:43:27 +0300
committerDmitry Koteroff <vortex@verona.im>2017-12-11 02:43:27 +0300
commitcd43188734975cae398a8e4d2137c6e1fa8c02d8 (patch)
tree68da2ba5187b3a61873043b3f40543ceefa13b4c /editor
parent523237943cff1bb1b2b5e85289bb89455856437a (diff)
Fixed #14503
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp
index 150c184e90..ad22c12372 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/editor/plugins/canvas_item_editor_plugin.cpp
@@ -4730,6 +4730,7 @@ void CanvasItemEditorViewport::drop_data(const Point2 &p_point, const Variant &p
list.push_back(root_node);
} else {
drop_pos = p_point;
+ target_node = NULL;
_show_resource_type_selector();
return;
}