summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2016-05-24 06:14:47 +0900
committerRĂ©mi Verschelde <remi@verschelde.fr>2016-05-23 23:14:47 +0200
commit472ab44768240bc8415778af125ab605b8f334fd (patch)
tree11eb3e1634aac57632e4fad371f9d3ff27f1410f /tools
parentd3495b128a700b6f830ec90ff0b544ad1333b867 (diff)
D&D: Fix wrong path in ScenesDock (#4789)
Fixes #4786
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/scenes_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/scenes_dock.cpp b/tools/editor/scenes_dock.cpp
index ee4258145e..ec2f7e293c 100644
--- a/tools/editor/scenes_dock.cpp
+++ b/tools/editor/scenes_dock.cpp
@@ -1335,7 +1335,7 @@ void ScenesDock::drop_data_fw(const Point2& p_point,const Variant& p_data,Contro
int at_pos = files->get_item_at_pos(p_point);
ERR_FAIL_COND(at_pos==-1);
- String to_dir = files->get_item_metadata(at_pos);
+ to_dir = files->get_item_metadata(at_pos);
} else {
TreeItem *ti = tree->get_item_at_pos(p_point);
if (!ti)