aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/animation_player_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-14 00:51:09 -0300
committerJuan Linietsky2017-01-14 00:51:09 -0300
commitd9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6 (patch)
treef5c92321612fdd5f8967c349898d3475b52bf930 /tools/editor/plugins/animation_player_editor_plugin.cpp
parentf3b6177ece8a06e52870ed422cbcc67276606e5a (diff)
downloadgodot-d9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6.tar.gz
godot-d9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6.tar.zst
godot-d9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6.zip
Diffstat (limited to 'tools/editor/plugins/animation_player_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/animation_player_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/animation_player_editor_plugin.cpp b/tools/editor/plugins/animation_player_editor_plugin.cpp
index 6646fea3d..b511bc30d 100644
--- a/tools/editor/plugins/animation_player_editor_plugin.cpp
+++ b/tools/editor/plugins/animation_player_editor_plugin.cpp
@@ -421,7 +421,7 @@ void AnimationPlayerEditor::_animation_save_as(const Ref<Resource>& p_resource)
if (p_resource->get_path() != "") {
file->set_current_path(p_resource->get_path());
if (extensions.size()) {
- String ext = p_resource->get_path().extension().to_lower();
+ String ext = p_resource->get_path().get_extension().to_lower();
if (extensions.find(ext) == NULL) {
file->set_current_path(p_resource->get_path().replacen("." + ext, "." + extensions.front()->get()));
}