Changed SkeletonIK3D to clear bone overrides when stopping
(cherry picked from commit 9ebdf812df
)
This commit is contained in:
parent
db5ec51023
commit
51be345a17
1 changed files with 3 additions and 0 deletions
|
@ -589,6 +589,9 @@ void SkeletonIK::start(bool p_one_time) {
|
|||
|
||||
void SkeletonIK::stop() {
|
||||
set_process_internal(false);
|
||||
if (skeleton) {
|
||||
skeleton->clear_bones_global_pose_override();
|
||||
}
|
||||
}
|
||||
|
||||
Transform SkeletonIK::_get_target_transform() {
|
||||
|
|
Loading…
Reference in a new issue