You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Rename Sprite.region_enabled getter and setter to match properties
Also renames Sprite2D.region_filter_clip property and its setter to region_filter_clip_enabled and set_region_filter_clip_enabled.
This commit is contained in:
@@ -179,7 +179,7 @@ void Sprite2DEditor::_update_mesh_data() {
|
||||
}
|
||||
|
||||
Rect2 rect;
|
||||
if (node->is_region()) {
|
||||
if (node->is_region_enabled()) {
|
||||
rect = node->get_region_rect();
|
||||
} else {
|
||||
rect.size = Size2(image->get_width(), image->get_height());
|
||||
|
||||
Reference in New Issue
Block a user