You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Rename Rect2 and Rect2i clip() to intersection()
This commit is contained in:
@@ -2705,7 +2705,7 @@ void Node3DEditorViewport::_draw() {
|
||||
} break;
|
||||
}
|
||||
|
||||
draw_rect = Rect2(Vector2(), s).clip(draw_rect);
|
||||
draw_rect = Rect2(Vector2(), s).intersection(draw_rect);
|
||||
|
||||
surface->draw_rect(draw_rect, Color(0.6, 0.6, 0.1, 0.5), false, Math::round(2 * EDSCALE));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user