summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarynate <mary.w.nate@gmail.com>2014-02-20 19:45:23 +0800
committermarynate <mary.w.nate@gmail.com>2014-02-23 17:12:36 +0800
commitcca806143e49a4b86ba0b9194e300fa362e46493 (patch)
treec114831895ffd9d2a5f4fe013922c26ab1f80af1
parent810d673e2384fbff843ed59bc2a5d3f0100ed511 (diff)
Instance button of SceneDock now working
-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 02daa3c245..86331faa1d 100644
--- a/tools/editor/scenes_dock.cpp
+++ b/tools/editor/scenes_dock.cpp
@@ -181,7 +181,7 @@ void ScenesDock::_instance_pressed() {
if (!sel)
return;
String path = sel->get_metadata(0);
- emit_signal("instance","res://"+path);
+ emit_signal("instance",path);
}
void ScenesDock::_open_pressed(){