Merge pull request #81695 from bitsawer/fix_bone_attachment_signal
Fix BoneAttachment3D signal connection
This commit is contained in:
commit
571792cd9d
|
@ -148,7 +148,7 @@ void BoneAttachment3D::_check_bind() {
|
|||
bone_idx = sk->find_bone(bone_name);
|
||||
}
|
||||
if (bone_idx != -1) {
|
||||
sk->call_deferred(SNAME("connect"), "bone_pose_changed", callable_mp(this, &BoneAttachment3D::on_bone_pose_update));
|
||||
sk->connect(SNAME("bone_pose_changed"), callable_mp(this, &BoneAttachment3D::on_bone_pose_update));
|
||||
bound = true;
|
||||
call_deferred(SNAME("on_bone_pose_update"), bone_idx);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue