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.

3 Commits

Author SHA1 Message Date
d811727a89 Add camera rigs: update version number 2024-04-24 21:47:36 +02:00
01cbd13f48 Add camera rigs: expose custom property in ui (2d camera rig) 2024-04-24 21:47:26 +02:00
d55bd19cc6 Add camera rigs: workaround dependency cycles on the 2D rig
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.
2024-04-24 21:37:36 +02:00