diff options
author | Hans Goudey <h.goudey@me.com> | 2020-12-01 18:28:29 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-12-02 18:34:06 +0300 |
commit | 9281a1f4ebcbbc9ebeb1f11a9f68e45fb2dff5f1 (patch) | |
tree | 820cf00bc5a1917f90be18b22ce75dcc6f3ff72d /release | |
parent | 8522b1b6fbfd2590dab4ed4de3153d45a81f0371 (diff) |
UI: Add new node colors for geometry nodes
During the development of the new nodes in the `geometry-nodes` branch
the color of the new nodes wasn't considered, so all of the nodes ended
up red, the color for "input" nodes. This patch introduces two new
colors, one for "Geometry" and one for "Attributes". There are only two
attribute nodes currently, but the next sprint will add two more,
attribute mix, and sample from texture. The attribute nodes are
conceptually different enough from the nodes that modify the geometry
that they deserve their own color.
Differential Revision: https://developer.blender.org/D9682
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 | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/release/datafiles/userdef/userdef_default_theme.c b/release/datafiles/userdef/userdef_default_theme.c index 4bfb5151ad8..53e8cd38d02 100644 --- a/release/datafiles/userdef/userdef_default_theme.c +++ b/release/datafiles/userdef/userdef_default_theme.c @@ -840,6 +840,8 @@ const bTheme U_theme_default = { .nodeclass_script = RGBA(0x084d4dff), .nodeclass_pattern = RGBA(0x6c696fff), .nodeclass_layout = RGBA(0x6c696fff), + .nodeclass_geometry = RGBA(0x00d7a4ff), + .nodeclass_attribute = RGBA(0x3f5980ff), .movie = RGBA(0x1a1a1acc), .gp_vertex_size = 3, .gp_vertex = RGBA(0x97979700), diff --git a/release/scripts/presets/interface_theme/blender_light.xml b/release/scripts/presets/interface_theme/blender_light.xml index 25e92386c3e..8ece3b46f5f 100644 --- a/release/scripts/presets/interface_theme/blender_light.xml +++ b/release/scripts/presets/interface_theme/blender_light.xml @@ -818,7 +818,7 @@ metadatabg="#000000" metadatatext="#ffffff" preview_range="#a14d0066" - row_alternate = "#ffffff0d" + row_alternate="#ffffff0d" > <space> <ThemeSpaceGeneric @@ -963,6 +963,8 @@ script_node="#6c696f" pattern_node="#6c696f" layout_node="#6c696f" + geometry_node="#00d7a4" + attribute_node="#3f5980" > <space> <ThemeSpaceGeneric |