Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Franitza <Rongix>2020-02-28 16:07:21 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-02-28 16:11:48 +0300
commit2269759fdf94cb7017685e4ce3f7677b3d8227ae (patch)
treef616293ae72630e03a5f2748f03b7eeac92ccd6e /source/blender/makesdna
parente287122af6ca2bb4b60ac938b5ac8a3f1354cad9 (diff)
UI: add theme option for grid levels to display in node editor background
Differential Revision: https://developer.blender.org/D6916
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h3
1 files changed, 2 insertions, 1 deletions
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];