Blender Git Loki

Git Commits -> Revision 05fd2ac

Revision 05fd2ac by Pablo Dobarro (master)
February 19, 2020, 18:09 (GMT)
Theme: Radial gradient background and enum for gradient type

This commit replaces the "Use Gradient" checkbox theme option with an
enum and implements a radial background.

Whith this change, it should be easier to implemet other types of more
complex background types, like a world space oriented gradient.

Reviewed By: billreynish, fclem, brecht

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

Commit Details:

Full Hash: 05fd2acf895847c51d8c02166a87d9fa50def39c
Parent Commit: 2df040e
Lines Changed: +67, -14

7 Modified Paths:

/source/blender/draw/engines/overlay/overlay_background.c (+12, -4) (Diff)
/source/blender/draw/engines/overlay/shaders/background_frag.glsl (+19, -2) (Diff)
/source/blender/editors/include/UI_resources.h (+1, -1) (Diff)
/source/blender/editors/interface/resources.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+9, -1) (Diff)
/source/blender/makesdna/intern/dna_rename_defs.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+23, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021