mirror of
https://github.com/godotengine/godot.git
synced 2026-01-08 00:25:01 +03:00
Merge pull request #55748 from cptchuckles/fix-sprite-validate-property
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user