diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2022-06-28 08:51:19 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-28 08:54:02 +0300 |
commit | 33fc230ba2e93242f6862a8934a96c3f6619bcb8 (patch) | |
tree | de53f27d04485cd6e25b9341298c2a59526b7172 /source/blender/blenloader | |
parent | e6d50cdd431fd56bc76699aeaab7ea840db1eb2d (diff) |
Fix T98799: camera unselectable in camera view below a certain scale
The camera frame (used for selection) was drawn outside the near
clipping plane in those cases.
This has been an issue before as seen in the following commits:
- rB6e7e6832e87
- rB33d322873e6
- rB4f9451c0442
Remaining issue was that the code which ensure the frame isn't behind
the near clipping plane was not taking into account the camera could be
scaled (in Z).
A caller of `BKE_camera_view_frame_ex` (namely
`OVERLAY_camera_cache_populate`) applies scale (also on the depth) which
does not play well with the way `BKE_camera_view_frame_ex` did it.
Now take Z scale into account.
Ref D15178
Diffstat (limited to 'source/blender/blenloader')
0 files changed, 0 insertions, 0 deletions