1
0
Fork 0

Merge pull request #102790 from stuartcarnie/fix_sprite_2d_region_editor

Sprite2D: Use correct name to hide `region_filter_clip_enabled`
This commit is contained in:
Thaddeus Crews 2025-02-13 10:15:40 -06:00
commit 286830c27d
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ void Sprite2D::_validate_property(PropertyInfo &p_property) const {
p_property.usage |= PROPERTY_USAGE_KEYING_INCREMENTS;
}
if (!region_enabled && (p_property.name == "region_rect" || p_property.name == "region_filter_clip")) {
if (!region_enabled && (p_property.name == "region_rect" || p_property.name == "region_filter_clip_enabled")) {
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
}
}