Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true

This commit is contained in:
ConorLPBoyle 2020-07-27 19:52:51 +03:00
parent 09a2b77b2d
commit fa4d9c9446

View file

@ -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);