Blender Git Commit Log

Git Commits -> Revision 018cca9

Revision 018cca9 by Robert Guetzkow (master)
May 2, 2021, 09:13 (GMT)
Fix T82824: Draw sensor size with correct alpha

Previously the option in the camera's //Object Data Properties > Viewport Display
> Sensor// would not display the sensor in camera view. This seemed to be caused
by the theme color `TH_VIEW_OVERLAY` having zero set for the alpha channel and
alpha blending being active, resulting in no visible output. Hence
`immUniformThemeColorShade(TH_VIEW_OVERLAY, 100);` is replaced with
`immUniformThemeColorShadeAlpha(TH_VIEW_OVERLAY, 100, 255);`.

Reviewed By: mano-wii

Differential Revision:

Commit Details:

Full Hash: 018cca94b8ab4a852cd7db209e821317b0bad66e
Parent Commit: 7c5e009
Lines Changed: +1, -1

1 Modified Path:

/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021