From 472ab44768240bc8415778af125ab605b8f334fd Mon Sep 17 00:00:00 2001 From: volzhs Date: Tue, 24 May 2016 06:14:47 +0900 Subject: [PATCH] D&D: Fix wrong path in ScenesDock (#4789) Fixes #4786 --- tools/editor/scenes_dock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/editor/scenes_dock.cpp b/tools/editor/scenes_dock.cpp index ee4258145ee..ec2f7e293ca 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)