Since rBa32588b17473, the T_CAMERA flag (which indicates whether the camera is affected by the transformation) is set whenever the camera is marked to update due to some dependency relation.
However this flag is unnecessary if the dependency is with the focus object.
And this brings inconveniences like the T64342.
This patch proposes to identify and skip this particular case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- master
- Build Status
Buildable 3562 Build 3562: arc lint + arc unit
Event Timeline
Comment Actions
Ideally we would have a direct way to check if an object is being transformed - if other relationships are causing errors.
| source/blender/editors/transform/transform_conversions.c | ||
|---|---|---|
| 9672 | check the object type is OB_CAMERA before casting. | |
| source/blender/editors/transform/transform_conversions.c | ||
|---|---|---|
| 9673–9674 | I am not sure what is the value of referencing bug reports. This doesn't make it any more clear why stuff is happening the way it does happen. There is only a vague explanation in the commit message. Such information should be put into the comments, so you don't spent your life chasing bug reports, reading comments there, then trying to extract more information from a commit message. | |
Comment Actions
Resolved by committing rB599626edd534: Fix T64342: Incorrect snapping of focus object in camera view