From 9281a1f4ebcbbc9ebeb1f11a9f68e45fb2dff5f1 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Tue, 1 Dec 2020 10:28:29 -0500 Subject: 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 --- source/blender/editors/include/UI_resources.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index f597bb307db..c09bf41e152 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -190,6 +190,8 @@ typedef enum ThemeColorID { TH_NODE_FRAME, TH_NODE_MATTE, TH_NODE_DISTORT, + TH_NODE_GEOMETRY, + TH_NODE_ATTRIBUTE, TH_CONSOLE_OUTPUT, TH_CONSOLE_INPUT, -- cgit v1.2.3