diff options
| author | Rémi Verschelde | 2017-08-26 17:46:49 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-08-26 17:47:57 +0200 |
| commit | 565600e8445a3073e4188a1a2bde1f47dd299c5a (patch) | |
| tree | 0cb16e4c20e2abaa6f17cfec7f3fa870b92caa13 /editor/plugins/animation_player_editor_plugin.cpp | |
| parent | dd7145b778ea4884fd52f5efaf79dc55375c8465 (diff) | |
| download | godot-565600e8445a3073e4188a1a2bde1f47dd299c5a.tar.gz godot-565600e8445a3073e4188a1a2bde1f47dd299c5a.tar.zst godot-565600e8445a3073e4188a1a2bde1f47dd299c5a.zip | |
Diffstat (limited to 'editor/plugins/animation_player_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/animation_player_editor_plugin.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index 43d6c22bc..5b71f51b0 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -367,10 +367,6 @@ void AnimationPlayerEditor::_animation_save_in_path(const Ref<Resource> &p_resou int flg = 0; if (EditorSettings::get_singleton()->get("filesystem/on_save/compress_binary_resources")) flg |= ResourceSaver::FLAG_COMPRESS; - /* - if (EditorSettings::get_singleton()->get("filesystem/on_save/save_paths_as_relative")) - flg |= ResourceSaver::FLAG_RELATIVE_PATHS; - */ String path = ProjectSettings::get_singleton()->localize_path(p_path); Error err = ResourceSaver::save(path, p_resource, flg | ResourceSaver::FLAG_REPLACE_SUBRESOURCE_PATHS); @@ -380,7 +376,6 @@ void AnimationPlayerEditor::_animation_save_in_path(const Ref<Resource> &p_resou accept->popup_centered_minsize(); return; } - //EditorFileSystem::get_singleton()->update_file(path,p_resource->get_type()); ((Resource *)p_resource.ptr())->set_path(path); editor->emit_signal("resource_saved", p_resource); |
