From 0c14b930ef14d23df0ede949b8cd51837dcb7dc0 Mon Sep 17 00:00:00 2001 From: Jonathan Gollnick Date: Wed, 8 Dec 2021 16:44:07 -0600 Subject: Fix _validate_property on AnimatedSprite 2D and 3D --- scene/3d/sprite_3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/3d/sprite_3d.cpp') diff --git a/scene/3d/sprite_3d.cpp b/scene/3d/sprite_3d.cpp index 197a5c0f27..3eabc6b562 100644 --- a/scene/3d/sprite_3d.cpp +++ b/scene/3d/sprite_3d.cpp @@ -998,7 +998,7 @@ void AnimatedSprite3D::_validate_property(PropertyInfo &property) const { } property.hint_string += String(E->get()); - if (animation == E) { + if (animation == E->get()) { current_found = true; } } -- cgit v1.2.3