From fa4d9c944637ae37c798806980cd78c806570da7 Mon Sep 17 00:00:00 2001 From: ConorLPBoyle Date: Mon, 27 Jul 2020 19:52:51 +0300 Subject: [PATCH] Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true --- scene/3d/skeleton_ik_3d.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scene/3d/skeleton_ik_3d.cpp b/scene/3d/skeleton_ik_3d.cpp index 9023f3c68ad..32d7afd5dfb 100644 --- a/scene/3d/skeleton_ik_3d.cpp +++ b/scene/3d/skeleton_ik_3d.cpp @@ -511,6 +511,11 @@ bool SkeletonIK3D::is_running() { void SkeletonIK3D::start(bool p_one_time) { if (p_one_time) { set_process_internal(false); + + if (target_node_override) { + reload_goal(); + } + _solve_chain(); } else { set_process_internal(true);