diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-06-19 23:45:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 23:45:05 +0200 |
commit | 8f5fbaefd1c627550d0722339e3a2400a8f4cf38 (patch) | |
tree | 86a53a9851302ea6dc1e290f240ccc5ff4eaea1b /editor/import/resource_importer_scene.cpp | |
parent | 73cbe3d9dae6690b806b6d892cf4fc470abb34e0 (diff) | |
parent | 95cd74fc4b8950cc3623961078981a4a147aec02 (diff) |
Merge pull request #39657 from Sl3dge78/20467
The "Anim imported" warning gets displayed properly when working on imported anims.
Diffstat (limited to 'editor/import/resource_importer_scene.cpp')
-rw-r--r-- | editor/import/resource_importer_scene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/import/resource_importer_scene.cpp b/editor/import/resource_importer_scene.cpp index ec82f78e75..65ebf9dc4f 100644 --- a/editor/import/resource_importer_scene.cpp +++ b/editor/import/resource_importer_scene.cpp @@ -943,9 +943,9 @@ void ResourceImporterScene::_make_external_resources(Node *p_node, const String ERR_CONTINUE(anim.is_null()); if (!p_animations.has(anim)) { - //mark what comes from the file first, this helps eventually keep user data + // We are making external files so they are modifiable for (int i = 0; i < anim->get_track_count(); i++) { - anim->track_set_imported(i, true); + anim->track_set_imported(i, false); } String ext_name; |