summaryrefslogtreecommitdiff
path: root/scene/resources/circle_shape_2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/circle_shape_2d.cpp')
-rw-r--r--scene/resources/circle_shape_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/circle_shape_2d.cpp b/scene/resources/circle_shape_2d.cpp
index 4512e1c4a9..1b7e09ddfb 100644
--- a/scene/resources/circle_shape_2d.cpp
+++ b/scene/resources/circle_shape_2d.cpp
@@ -58,7 +58,7 @@ void CircleShape2D::_bind_methods() {
Rect2 CircleShape2D::get_rect() const {
Rect2 rect;
- rect.pos = -Point2(get_radius(), get_radius());
+ rect.position = -Point2(get_radius(), get_radius());
rect.size = Point2(get_radius(), get_radius()) * 2.0;
return rect;
}