diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-09 10:18:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 10:18:14 +0100 |
commit | dcca8aba4f01dfc55c1d7adb6bef7bee684cf447 (patch) | |
tree | cda62c4b5ab2c7f5bd50ab2d725dcd601585a83f /scene/3d/sprite_3d.cpp | |
parent | 1a8741aacab634e8f8cfdbee0f6d83f20ca163d2 (diff) | |
parent | 0c14b930ef14d23df0ede949b8cd51837dcb7dc0 (diff) |
Merge pull request #55748 from cptchuckles/fix-sprite-validate-property
Diffstat (limited to 'scene/3d/sprite_3d.cpp')
-rw-r--r-- | scene/3d/sprite_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |