Sfoglia il codice sorgente

Merge pull request #20971 from swarnimarun/new-resource-option

Fix for resource save dialog call
Rémi Verschelde 7 anni fa
parent
commit
b68f186c46
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      editor/filesystem_dock.cpp

+ 1 - 1
editor/filesystem_dock.cpp

@@ -1410,7 +1410,7 @@ void FileSystemDock::_resource_created() const {
 
 	RES current_res = RES(r);
 
-	editor->save_resource_as(current_res);
+	editor->save_resource_as(current_res, path);
 }
 
 void FileSystemDock::_go_to_file_list() {