aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.cpp
diff options
context:
space:
mode:
authorDmitry Koteroff2017-12-11 02:43:27 +0300
committerDmitry Koteroff2017-12-11 02:43:27 +0300
commitcd43188734975cae398a8e4d2137c6e1fa8c02d8 (patch)
tree68da2ba5187b3a61873043b3f40543ceefa13b4c /editor/plugins/canvas_item_editor_plugin.cpp
parent523237943cff1bb1b2b5e85289bb89455856437a (diff)
downloadgodot-cd43188734975cae398a8e4d2137c6e1fa8c02d8.tar.gz
godot-cd43188734975cae398a8e4d2137c6e1fa8c02d8.tar.zst
godot-cd43188734975cae398a8e4d2137c6e1fa8c02d8.zip
Fixed #14503
Diffstat (limited to '')
-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 150c184e9..ad22c1237 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;
}