Blender Git Loki

Git Commits -> Revision 93a8fd1

Revision 93a8fd1 by Jesse Yurkovich (master)
October 15, 2021, 09:42 (GMT)
Cleanup: Commonize code for checking scene lights/world settings

There were several places attempting to check to see if scene lights
and world were enabled for display. This tries to find a common place
for both of these to reduce duplication.

Honestly, I couldn't find a really good spot for these and settled on
DRW_engine. It's not the best spot since they're not strictly drawing
related, but let's start here.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D12658

Commit Details:

Full Hash: 93a8fd1249ffc64ee089b8c3192908dec247fc07
Parent Commit: 30bed87
Committed By: Clément Foucault
Lines Changed: +20, -21

4 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_engine.c (+3, -9) (Diff)
/source/blender/draw/intern/draw_color_management.cc (+3, -8) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+2, -4) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+12, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021