Skip to content

Commit

Permalink
Apply fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Feb 9, 2024
1 parent 1d88951 commit 5070b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ik_bone_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ IKBone3D::IKBone3D(StringName p_bone, Skeleton3D *p_skeleton, const Ref<IKBone3D
if (elem.is_null()) {
continue;
}
if (elem->get_name() == p_bone && !elem->get_target_node().is_empty() && p_many_bone_ik && p_many_bone_ik->get_node_or_null(elem->get_target_node())) {
if (elem->get_name() == p_bone) {
create_pin();
Ref<IKEffector3D> effector = get_pin();
effector->set_target_node(p_skeleton, elem->get_target_node());
Expand Down

0 comments on commit 5070b00

Please sign in to comment.