mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	Merge pull request #45214 from arrowinaknee/3.2-fix-new-scene-save
[3.2] Remove unnecessary file existence check when saving scene
This commit is contained in:
		
						commit
						51bcc875ea
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -2283,7 +2283,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) { | |||
| 			int scene_idx = (p_option == FILE_SAVE_SCENE) ? -1 : tab_closing; | ||||
| 
 | ||||
| 			Node *scene = editor_data.get_edited_scene_root(scene_idx); | ||||
| 			if (scene && scene->get_filename() != "" && FileAccess::exists(scene->get_filename())) { | ||||
| 			if (scene && scene->get_filename() != "") { | ||||
| 				if (scene_idx != editor_data.get_edited_scene()) | ||||
| 					_save_scene_with_preview(scene->get_filename(), scene_idx); | ||||
| 				else | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rémi Verschelde
						Rémi Verschelde