summaryrefslogtreecommitdiff
path: root/scene/3d/physics_joint_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/physics_joint_3d.h')
-rw-r--r--scene/3d/physics_joint_3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/physics_joint_3d.h b/scene/3d/physics_joint_3d.h
index ce0c7af5d1..38a3f314ba 100644
--- a/scene/3d/physics_joint_3d.h
+++ b/scene/3d/physics_joint_3d.h
@@ -305,7 +305,7 @@ protected:
float params_z[PARAM_MAX];
bool flags_z[FLAG_MAX];
- int precision;
+ int precision = 1;
virtual RID _configure_joint(PhysicsBody3D *body_a, PhysicsBody3D *body_b);
static void _bind_methods();