summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2015-12-04 17:15:34 +0100
committerRémi Verschelde <remi@verschelde.fr>2015-12-04 17:15:34 +0100
commit5b0dcab3e85a4b2147ec23a06f7845246f8cb538 (patch)
treeca6ca8b2b9601defcbdf07368ff00e4d9963962b /tools/editor
parent35fa048af555e1f8411a2034706e9e452ce2f399 (diff)
parenta5947161ef01001d3d32c8e11fc5a6f0dbe68757 (diff)
Merge pull request #2987 from neikeq/fix_save_empty
Fix 'Save Scene' doing nothing on new scenes
Diffstat (limited to 'tools/editor')
-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();