summaryrefslogtreecommitdiffstats
path: root/tools/editor/plugins/canvas_item_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-05-11 11:46:08 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-05-11 11:59:03 -0300
commitd7318f69653ca090575d1243256fcafe8d9ca25f (patch)
tree6de8054581185e42e987c1820bb8284d2519bc07 /tools/editor/plugins/canvas_item_editor_plugin.cpp
parent41db10a8ae6702709343b6b2cd38b0f5497cce38 (diff)
downloadredot-engine-d7318f69653ca090575d1243256fcafe8d9ca25f.tar.gz
-begun implementing drag & drop editor wide
-filesystem dock dnd support -property list dnd support -scene tree dnd support
Diffstat (limited to 'tools/editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/canvas_item_editor_plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/plugins/canvas_item_editor_plugin.cpp b/tools/editor/plugins/canvas_item_editor_plugin.cpp
index 7ece65e75a..0213dbda59 100644
--- a/tools/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/tools/editor/plugins/canvas_item_editor_plugin.cpp
@@ -572,6 +572,8 @@ bool CanvasItemEditor::_select(CanvasItem *item, Point2 p_click_pos, bool p_appe
_append_canvas_item(item);
viewport->update();
+ return true;
+
} else {
//regular selection