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 /source/blender/makesdna/DNA_userdef_types.h | |
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 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 885efcb2bea..f5ac6ca4496 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -334,6 +334,7 @@ typedef struct ThemeSpace { unsigned char nodeclass_vector[4], nodeclass_texture[4]; unsigned char nodeclass_shader[4], nodeclass_script[4]; unsigned char nodeclass_pattern[4], nodeclass_layout[4]; + unsigned char nodeclass_geometry[4], nodeclass_attribute[4]; /** For sequence editor. */ unsigned char movie[4], movieclip[4], mask[4], image[4], scene[4], audio[4]; |