Blender Git Loki

Git Commits -> Revision 5c6d5cb

Revision 5c6d5cb by Campbell Barton (master)
January 11, 2019, 01:59 (GMT)
Fix background color use in 3D view

TH_BACK was being used when drawing the 3D view even though
there was no way to set the color in the preferences.

The color was zero'd when moving to the new 2.8x theme.

Having both gradient and background colors was confusing,
especially having to use 'TH_HIGH_GRAD' for the 3D view, 'TH_BACK' for
other views.

Move the background color back to 'TH_BACK', 'TH_BACK_GRAD' is used
when gradients are enabled.
RNA is unchanged so presets don't need updating.

Commit Details:

Full Hash: 5c6d5cb8639aa71e2728258e9a4afe7c9d822bc7
Parent Commit: f98e4cb
Lines Changed: +50, -40

12 Modified Paths:

/release/datafiles/userdef/userdef_default_theme.c (+1, -4) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+12, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+1, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_common.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_view.c (+3, -3) (Diff)
/source/blender/editors/include/UI_resources.h (+2, -2) (Diff)
/source/blender/editors/interface/resources.c (+4, -6) (Diff)
/source/blender/editors/space_view3d/view3d_utils.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+5, -9) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+16, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021