From d02b319ec4c5f72251ba03af8375d99bac67f64b Mon Sep 17 00:00:00 2001 From: lawnjelly Date: Tue, 8 Aug 2023 09:42:55 +0100 Subject: [PATCH] Fix AnimatedSprite normal map loading Normal map names are now correctly set up during loading. --- scene/2d/animated_sprite.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/2d/animated_sprite.cpp b/scene/2d/animated_sprite.cpp index b7bf41de5df..d76e781d2ac 100644 --- a/scene/2d/animated_sprite.cpp +++ b/scene/2d/animated_sprite.cpp @@ -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; } }