summaryrefslogtreecommitdiff
path: root/scene/resources/skeleton_modification_2d_fabrik.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/skeleton_modification_2d_fabrik.h')
-rw-r--r--scene/resources/skeleton_modification_2d_fabrik.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/skeleton_modification_2d_fabrik.h b/scene/resources/skeleton_modification_2d_fabrik.h
index 4a875d039f..0ca6582965 100644
--- a/scene/resources/skeleton_modification_2d_fabrik.h
+++ b/scene/resources/skeleton_modification_2d_fabrik.h
@@ -68,8 +68,8 @@ private:
float chain_tolarance = 0.01;
int chain_max_iterations = 10;
int chain_iterations = 0;
- Transform2D target_global_pose = Transform2D();
- Transform2D origin_global_pose = Transform2D();
+ Transform2D target_global_pose;
+ Transform2D origin_global_pose;
void fabrik_joint_update_bone2d_cache(int p_joint_idx);
void chain_backwards();