Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true
(cherry picked from commit fa4d9c9446
)
This commit is contained in:
parent
40d118ce4a
commit
ba3f0fa971
|
@ -538,6 +538,11 @@ bool SkeletonIK::is_running() {
|
|||
void SkeletonIK::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);
|
||||
|
|
Loading…
Reference in New Issue