Add camera rigs: workaround for the 2D rig dependency cycle #105293

Closed
Damien Picard wants to merge 3 commits from pioverfour/blender-addons:fix_cams into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 01cbd13f48 - Show all commits

View File

@ -104,6 +104,8 @@ class ADD_CAMERA_RIGS_PT_camera_rig_ui(Panel, CameraRigMixin):
col.label(text="2D Rig:") col.label(text="2D Rig:")
col.prop(pose_bones["Camera"], '["rotation_shift"]', col.prop(pose_bones["Camera"], '["rotation_shift"]',
text="Rotation/Shift") text="Rotation/Shift")
col.prop(pose_bones["Camera"], '["aperture_fstop"]',
text="F-Stop")
if cam.data.sensor_width != 36: if cam.data.sensor_width != 36:
col.label(text="Please set Camera Sensor Width to 36", icon="ERROR") col.label(text="Please set Camera Sensor Width to 36", icon="ERROR")