diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-02-17 19:40:06 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-02-17 19:41:19 +0100 |
commit | d8f06085a2b5b2eb1838cefdb58aa39a99022324 (patch) | |
tree | 3d4fd7f9a861e33aedd33456f3dd57c1f9d01e13 /tools | |
parent | 4df8b7b02f97627b7f79f90e322a79b24e0860a7 (diff) |
Fix _quick_run method (Play custom scene)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/editor/editor_node.cpp | 4 | ||||
-rw-r--r-- | tools/editor/editor_node.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index b39a1b5350..794e02fa50 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -3843,9 +3843,9 @@ void EditorNode::_quick_opened() { } } -void EditorNode::_quick_run(const String& p_resource) { +void EditorNode::_quick_run() { - _run(false,p_resource); + _run(false,quick_run->get_selected()); } diff --git a/tools/editor/editor_node.h b/tools/editor/editor_node.h index a8aa6ac1f4..6893b78e8b 100644 --- a/tools/editor/editor_node.h +++ b/tools/editor/editor_node.h @@ -447,7 +447,7 @@ class EditorNode : public Node { void _hide_top_editors(); void _quick_opened(); - void _quick_run(const String& p_resource); + void _quick_run(); void _run(bool p_current=false, const String &p_custom=""); |