Blender Git Loki

Git Commits -> Revision ced7203

May 6, 2021, 09:25 (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: https://developer.blender.org/D11075

Commit Details:

Full Hash: ced72034d5cb774a6abfa3bb7a880bfc615982e9
Parent Commit: 04a18ea
Committed By: Stefan Werner
Lines Changed: +1, -1

1 Modified Path:

/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021