From 05fd2acf895847c51d8c02166a87d9fa50def39c Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Wed, 19 Feb 2020 19:11:47 +0100 Subject: 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 --- source/blender/makesdna/intern/dna_rename_defs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/intern') diff --git a/source/blender/makesdna/intern/dna_rename_defs.h b/source/blender/makesdna/intern/dna_rename_defs.h index 404f483fde2..1ae7ad6bc70 100644 --- a/source/blender/makesdna/intern/dna_rename_defs.h +++ b/source/blender/makesdna/intern/dna_rename_defs.h @@ -109,3 +109,4 @@ DNA_STRUCT_RENAME_ELEM(bTheme, tstatusbar, space_statusbar) DNA_STRUCT_RENAME_ELEM(bTheme, ttopbar, space_topbar) DNA_STRUCT_RENAME_ELEM(bTheme, tuserpref, space_preferences) DNA_STRUCT_RENAME_ELEM(bTheme, tv3d, space_view3d) +DNA_STRUCT_RENAME_ELEM(ThemeSpace, show_back_grad, background_type) -- cgit v1.2.3