Blender Git Loki

Git Commits -> Revision c95b522

Revision c95b522 by Michael Soluyanov (master)
March 23, 2020, 15:35 (GMT)
UI: Theme options for checkerboard pattern colors and size

This patch adds ability to set up colors and size of background
(transparency) checkerboard pattern in viewport and 2d editors. No new
backgrounds, only changing colors in existing ones.

This is not the background of the viewport, it is a transparency
checkerboard that is turned on only in render mode, when the
transparency mode is on. And also in 2D-editors, (image, sequencer,
etc).

Reviewed By: Pablo Vazquez, Julian Eisel

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

Commit Details:

Full Hash: c95b522856c590e31278548ec02bbac1a64e217d
Parent Commit: 88a86c0
Committed By: Julian Eisel
Lines Changed: +90, -13

12 Modified Paths:

/release/datafiles/userdef/userdef_default_theme.c (+3, -0) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+18, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+3, -0) (Diff)
/source/blender/draw/engines/overlay/shaders/background_frag.glsl (+2, -2) (Diff)
/source/blender/draw/intern/draw_common.c (+3, -2) (Diff)
/source/blender/draw/intern/draw_common.h (+4, -3) (Diff)
/source/blender/draw/intern/shaders/common_globals_lib.glsl (+3, -2) (Diff)
/source/blender/editors/include/UI_resources.h (+4, -0) (Diff)
/source/blender/editors/interface/resources.c (+12, -0) (Diff)
/source/blender/gpu/intern/gpu_immediate_util.c (+11, -3) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+22, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021