summaryrefslogtreecommitdiff
path: root/scene/resources/circle_shape_2d.cpp
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal@protonmail.com>2021-02-09 18:24:36 +0100
committerRafał Mikrut <mikrutrafal@protonmail.com>2021-02-09 18:24:36 +0100
commit7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e (patch)
tree9560a84f1300e2466338426f2e267adba6a06a53 /scene/resources/circle_shape_2d.cpp
parentdf9c98e107b19fc50bc5ae9f7ed624d693c0fb32 (diff)
Initialize class variables with default values in scene/ [2/2]
Diffstat (limited to 'scene/resources/circle_shape_2d.cpp')
-rw-r--r--scene/resources/circle_shape_2d.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/resources/circle_shape_2d.cpp b/scene/resources/circle_shape_2d.cpp
index a44c1b68bf..735bf47482 100644
--- a/scene/resources/circle_shape_2d.cpp
+++ b/scene/resources/circle_shape_2d.cpp
@@ -83,6 +83,5 @@ void CircleShape2D::draw(const RID &p_to_rid, const Color &p_color) {
CircleShape2D::CircleShape2D() :
Shape2D(PhysicsServer2D::get_singleton()->circle_shape_create()) {
- radius = 10;
_update_shape();
}