summaryrefslogtreecommitdiff
path: root/tools/editor/resources_dock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/resources_dock.cpp')
-rw-r--r--tools/editor/resources_dock.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/editor/resources_dock.cpp b/tools/editor/resources_dock.cpp
index 37a3469578..eb2e526d71 100644
--- a/tools/editor/resources_dock.cpp
+++ b/tools/editor/resources_dock.cpp
@@ -156,8 +156,6 @@ void ResourcesDock::save_resource(const String& p_path,const Ref<Resource>& p_re
flg|=ResourceSaver::FLAG_COMPRESS;
if (EditorSettings::get_singleton()->get("on_save/save_paths_as_relative"))
flg|=ResourceSaver::FLAG_RELATIVE_PATHS;
- if (EditorSettings::get_singleton()->get("on_save/save_paths_without_extension"))
- flg|=ResourceSaver::FLAG_NO_EXTENSION;
String path = Globals::get_singleton()->localize_path(p_path);
Error err = ResourceSaver::save(path,p_resource,flg);