summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorAngeloss <angeloss49@gmail.com>2019-03-25 17:02:11 -0600
committerRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-03 16:59:34 +0200
commit40acc3ecdc4ca63040fec3ea30eead21523bade6 (patch)
treefa4a30bd6c85f8ba4a6e6ac300c57b41e78c94d1 /editor
parented3586afa1b09ef4a7d25deaf053cdad947a1cae (diff)
Fix: Keep custom tracks option now keeps animation loop property and value track update mode.
(cherry picked from commit 589c5698a0808fb2ad9f240d65c1f44ad6544834)
Diffstat (limited to 'editor')
-rw-r--r--editor/import/resource_importer_scene.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/import/resource_importer_scene.cpp b/editor/import/resource_importer_scene.cpp
index 5eb1d2ec6c..fb2e3c0401 100644
--- a/editor/import/resource_importer_scene.cpp
+++ b/editor/import/resource_importer_scene.cpp
@@ -942,6 +942,7 @@ void ResourceImporterScene::_make_external_resources(Node *p_node, const String
old_anim->copy_track(i, anim);
}
}
+ anim->set_loop(old_anim->has_loop());
}
}