Fix BoneAttachment3D signal connection
This commit is contained in:
parent
787259441a
commit
34574db5b9
|
@ -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