Merge pull request #55748 from cptchuckles/fix-sprite-validate-property

This commit is contained in:
Rémi Verschelde 2021-12-09 10:18:14 +01:00 committed by GitHub
commit dcca8aba4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ void AnimatedSprite2D::_validate_property(PropertyInfo &property) const {
}
property.hint_string += String(E->get());
if (animation == E) {
if (animation == E->get()) {
current_found = true;
}
}

View file

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