D&D: Fix wrong path in ScenesDock (#4789)

Fixes #4786
This commit is contained in:
volzhs 2016-05-24 06:14:47 +09:00 committed by Rémi Verschelde
parent d3495b128a
commit 472ab44768
1 changed files with 1 additions and 1 deletions

View File

@ -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); int at_pos = files->get_item_at_pos(p_point);
ERR_FAIL_COND(at_pos==-1); ERR_FAIL_COND(at_pos==-1);
String to_dir = files->get_item_metadata(at_pos); to_dir = files->get_item_metadata(at_pos);
} else { } else {
TreeItem *ti = tree->get_item_at_pos(p_point); TreeItem *ti = tree->get_item_at_pos(p_point);
if (!ti) if (!ti)