summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorneikeq <ignalfonsore@gmail.com>2015-12-04 16:51:36 +0100
committerneikeq <ignalfonsore@gmail.com>2015-12-04 16:51:36 +0100
commita5947161ef01001d3d32c8e11fc5a6f0dbe68757 (patch)
treeca6ca8b2b9601defcbdf07368ff00e4d9963962b /tools
parent35fa048af555e1f8411a2034706e9e452ce2f399 (diff)
Fix 'Save Scene' doing nothing on new scenes
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index 9ad517e57a..8b04e4f77e 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -2042,7 +2042,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
return;
};
// fallthrough to save_as
- } break;
+ };
case FILE_SAVE_AS_SCENE: {
Node *scene = editor_data.get_edited_scene_root();