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.
Member

A dependency cycle occurs currently because the camera's properties
depend on both the armature and itself, through the lens property.
As far as I can tell this cycle does not cause any lag, but it's
better to fix it anyway.

This commit works around this cycle by introducing an intermediate
lens property on the rig itself, and this is used to drive the actual
camera lens.

Reported and fixed by Beorn Leonard.

This PR also includes the upstream improvement to expose 2D rig
properties in the UI.

A dependency cycle occurs currently because the camera's properties depend on both the armature and itself, through the lens property. As far as I can tell this cycle does not cause any lag, but it's better to fix it anyway. This commit works around this cycle by introducing an intermediate lens property on the rig itself, and this is used to drive the actual camera lens. Reported and fixed by Beorn Leonard. This PR also includes the upstream improvement to expose 2D rig properties in the UI.
Damien Picard added 3 commits 2024-04-24 21:41:41 +02:00
A dependency cycle occurs currently because the camera's properties
depend on both the armature and itself, through the lens property.
As far as I can tell this cycle does not cause any lag, but it's
better to fix it anyway.

This commit works around this cycle by introducing an intermediate
lens property on the rig itself, and this is used to drive the actual
camera lens.

Reported and fixed by Beorn Leonard.
Author
Member

@WayneDixon Hi, it looks like I can’t assign you as a reviewer, but here’s an alternative fix to the dependency cycle, based on Beorn’s solution.

@WayneDixon Hi, it looks like I can’t assign you as a reviewer, but here’s an alternative fix to the dependency cycle, based on Beorn’s solution.
Damien Picard force-pushed fix_cams from 36ce06bd3a to d811727a89 2024-04-24 21:51:03 +02:00 Compare
Author
Member

Closing because built-in add-ons are now hosted elsewhere.

Closing because built-in add-ons are now hosted [elsewhere](https://projects.blender.org/extensions/add_camera_rigs/).
Damien Picard closed this pull request 2024-06-09 21:18:41 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#105293
No description provided.