diff options
author | Dalai Felinto <dalai@blender.org> | 2022-05-10 20:21:26 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2022-05-10 20:33:49 +0300 |
commit | 28240f78cefd880e65c71a971570425fcbab9264 (patch) | |
tree | 95579dcf8560b59353a1178af0fdfcfb0efcd482 /source/blender/editors/space_node/node_context_path.cc | |
parent | 8852191b779e880fe4d5116f2bee3fcddb8aced4 (diff) |
UI: Geometry Nodes Icon
Geometry Nodes (new) icon. So far we were using the generic node-tree
icon for geometry nodes, not anymore.
The new icon is composed of 4 spheres that is a reference to the
original pebbles demo. Scattering points was also the turning point for
the project (which originally was focusing on dynamic effects), and to
this day is one of the first steps for everything procedural such as
hair.
Note that the modifier icon is still showing as white in the outliner.
The alternative is to be blue everywhere.
Patch review and feedback by Hans Goudey.
Icon creation in collaboration with Pablo Vazquez.
Diffstat (limited to 'source/blender/editors/space_node/node_context_path.cc')
-rw-r--r-- | source/blender/editors/space_node/node_context_path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_context_path.cc b/source/blender/editors/space_node/node_context_path.cc index 4247d5a1fbc..dfc0beb13fc 100644 --- a/source/blender/editors/space_node/node_context_path.cc +++ b/source/blender/editors/space_node/node_context_path.cc @@ -139,7 +139,7 @@ static void get_context_path_node_geometry(const bContext &C, Object *object = CTX_data_active_object(&C); ui::context_path_add_generic(path, RNA_Object, object); ModifierData *modifier = BKE_object_active_modifier(object); - ui::context_path_add_generic(path, RNA_Modifier, modifier, ICON_MODIFIER); + ui::context_path_add_generic(path, RNA_Modifier, modifier, ICON_GEOMETRY_NODES); context_path_add_node_tree_and_node_groups(snode, path); } } |