diff options
Diffstat (limited to 'tools/editor/resources_dock.cpp')
-rw-r--r-- | tools/editor/resources_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/resources_dock.cpp b/tools/editor/resources_dock.cpp index 8542058f47..a05fe425b3 100644 --- a/tools/editor/resources_dock.cpp +++ b/tools/editor/resources_dock.cpp @@ -158,7 +158,7 @@ void ResourcesDock::save_resource(const String& p_path,const Ref<Resource>& p_re flg|=ResourceSaver::FLAG_RELATIVE_PATHS; String path = Globals::get_singleton()->localize_path(p_path); - Error err = ResourceSaver::save(path,p_resource,flg); + Error err = ResourceSaver::save(path,p_resource,flg|ResourceSaver::FLAG_REPLACE_SUBRESOURCE_PATHS); if (err!=OK) { accept->set_text("Error saving resource!"); |