From 2269759fdf94cb7017685e4ce3f7677b3d8227ae Mon Sep 17 00:00:00 2001 From: Pawel Franitza Date: Fri, 28 Feb 2020 14:07:21 +0100 Subject: UI: add theme option for grid levels to display in node editor background Differential Revision: https://developer.blender.org/D6916 --- source/blender/makesdna/DNA_userdef_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index d0d966381d1..e79d4ccae3a 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -315,6 +315,7 @@ typedef struct ThemeSpace { unsigned char vertex_size, outline_width, obcenter_dia, facedot_size; unsigned char noodle_curving; + unsigned char grid_levels; /* syntax for textwindow and nodes */ unsigned char syntaxl[4], syntaxs[4]; // in nodespace used for backdrop matte @@ -323,7 +324,7 @@ typedef struct ThemeSpace { unsigned char syntaxd[4], syntaxr[4]; // in nodespace used for distort unsigned char line_numbers[4]; - char _pad6[4]; + char _pad6[3]; unsigned char nodeclass_output[4], nodeclass_filter[4]; unsigned char nodeclass_vector[4], nodeclass_texture[4]; -- cgit v1.2.3