Blender Git Loki
Git Commits -> Revision 9281a1f
Revision 9281a1f by Hans Goudey (master) December 2, 2020, 15:34 (GMT) |
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 |
Commit Details:
Full Hash: 9281a1f4ebcbbc9ebeb1f11a9f68e45fb2dff5f1
Parent Commit: 8522b1b
Committed By: Jacques Lucke
Lines Changed: +50, -14
22 Modified Paths:
/release/datafiles/userdef/userdef_default_theme.c (+2, -0) (Diff)
/release/scripts/presets/interface_theme/blender_light.xml (+3, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+2, -0) (Diff)
/source/blender/editors/include/UI_resources.h (+2, -0) (Diff)
/source/blender/editors/interface/resources.c (+6, -0) (Diff)
/source/blender/editors/space_node/node_draw.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+12, -0) (Diff)
/source/blender/nodes/function/nodes/node_fn_boolean_math.cc (+1, -1) (Diff)
/source/blender/nodes/function/nodes/node_fn_float_compare.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_boolean.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_edge_split.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_object_info.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_random_attribute.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_transform.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc (+1, -1) (Diff)
/release/scripts/presets/interface_theme/blender_light.xml (+3, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+2, -0) (Diff)
/source/blender/editors/include/UI_resources.h (+2, -0) (Diff)
/source/blender/editors/interface/resources.c (+6, -0) (Diff)
/source/blender/editors/space_node/node_draw.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+12, -0) (Diff)
/source/blender/nodes/function/nodes/node_fn_boolean_math.cc (+1, -1) (Diff)
/source/blender/nodes/function/nodes/node_fn_float_compare.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_boolean.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_edge_split.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_object_info.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_random_attribute.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_transform.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc (+1, -1) (Diff)