Skip to content

Commit

Permalink
Fix AnimatedSprite normal map loading
Browse files Browse the repository at this point in the history
Normal map names are now correctly set up during loading.
  • Loading branch information
lawnjelly committed Aug 8, 2023
1 parent b776cf5 commit d02b319
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/2d/animated_sprite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ void SpriteFrames::_set_animations(const Array &p_animations) {
}

animations[d["name"]] = anim;
animations[d["name"]].normal_name = String(d["name"]) + NORMAL_SUFFIX;
}
}

Expand Down

0 comments on commit d02b319

Please sign in to comment.