diff options
author | Leon Schittek <leon.schittek@gmx.net> | 2022-03-30 22:21:57 +0300 |
---|---|---|
committer | Leon Schittek <leon.schittek@gmx.net> | 2022-03-30 22:21:57 +0300 |
commit | 26700320389cdc82c48ac3a33b215427522fe2b8 (patch) | |
tree | f77cb7800987a4d26f21fd81126f48f32952d568 /release | |
parent | 922d53a791d53b77e5ffcf65003555fae0a0e883 (diff) |
UI: Improve node editor dot background
This commit makes the dot grid used as background in the node editor
more visually stable when zooming in and out.
The dot grid now uses a continuously subdividing pattern, where
each level of subdivision divides the previous five times, similar to
the line grid in the 3D viewport.
The maximum for the "Grid Levels" theme setting is changed to 3, since
any further subdivisions are too small to be visible.
The "Grid Levels" value for the default themes "Blender Dark" and
"Blender Light" is therefore changed to 3, as well.
Reviewed By: Hans Goudey, Pablo Vazquez
Differential Revision: http://developer.blender.org/D13302
Diffstat (limited to 'release')
-rw-r--r-- | release/datafiles/userdef/userdef_default_theme.c | 2 | ||||
-rw-r--r-- | release/scripts/presets/interface_theme/Blender_Light.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/datafiles/userdef/userdef_default_theme.c b/release/datafiles/userdef/userdef_default_theme.c index 292080ef629..08f91781aa0 100644 --- a/release/datafiles/userdef/userdef_default_theme.c +++ b/release/datafiles/userdef/userdef_default_theme.c @@ -833,7 +833,7 @@ const bTheme U_theme_default = { .outline_width = 1, .facedot_size = 4, .noodle_curving = 4, - .grid_levels = 7, + .grid_levels = 3, .dash_alpha = 0.5f, .syntaxl = RGBA(0x303030ff), .syntaxs = RGBA(0x973c3cff), diff --git a/release/scripts/presets/interface_theme/Blender_Light.xml b/release/scripts/presets/interface_theme/Blender_Light.xml index 9a315763c8b..49955bc3ff9 100644 --- a/release/scripts/presets/interface_theme/Blender_Light.xml +++ b/release/scripts/presets/interface_theme/Blender_Light.xml @@ -955,7 +955,7 @@ matte_node="#977474" distor_node="#749797" noodle_curving="4" - grid_levels="7" + grid_levels="3" dash_alpha="0.5" input_node="#cb3d4a" output_node="#cb3d4a" |