Skip to content

Commit

Permalink
Merge pull request #53323 from xMakerx/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Dec 10, 2021
2 parents 3c44843 + 4b9e12b commit db70957
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/import/resource_importer_scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,7 @@ Ref<Animation> ResourceImporterScene::_save_animation_to_file(Ref<Animation> ani

void ResourceImporterScene::_create_clips(AnimationPlayer *anim, const Array &p_clips, bool p_bake_all) {
if (!anim->has_animation("default")) {
ERR_FAIL_COND_MSG(p_clips.size() > 0, "To create clips, animations must be named \"default\".");
return;
}

Expand Down

0 comments on commit db70957

Please sign in to comment.