Fix AnimatedSprite normal map loading

Normal map names are now correctly set up during loading.

(cherry picked from commit d02b319ec4)
This commit is contained in:
lawnjelly
2023-08-08 09:42:55 +01:00
committed by Rémi Verschelde
parent bf2d62382f
commit 6e52037876

View File

@@ -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;
}
}