Merge pull request #40768 from ConorLPBoyle/skeletonik-reload-goal-fix

Fixed reload_goal not being called when SkeletonIK3D::start is invoke…
This commit is contained in:
Rémi Verschelde 2020-07-28 09:12:45 +02:00 committed by GitHub
commit a5f6c24734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

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