You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Fix _validate_property on AnimatedSprite 2D and 3D
This commit is contained in:
committed by
Grendel
parent
f1e3c87244
commit
0c14b930ef
@@ -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