Fix the set_dof_bone operator. #2

Merged
Nika Kutsniashvili merged 1 commits from CypherPoet/add_camera_rigs:fix-set-dof-bone-2 into main 2024-09-19 15:12:20 +02:00
Showing only changes of commit 94661b3083 - Show all commits

View File

@ -86,7 +86,7 @@ class ADD_CAMERA_RIGS_OT_set_dof_bone(Operator, CameraRigMixin):
cam.data.dof.focus_object = rig
cam.data.dof.focus_subtarget = (
'Center-MCH' if rig["rig_id"].lower() == '2d_rig'
else 'Aim_shape_rotation-MCH')
else 'MCH-Aim_shape_rotation')
return {'FINISHED'}