diff options
author | Jacques Lucke <jacques@blender.org> | 2021-10-26 16:32:01 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-10-26 16:32:01 +0300 |
commit | fd477e738dfd65f7bb0f06c1d91c3259ed26295d (patch) | |
tree | d3caadbd97f7b3be9e453047c0c1b3cd4590afad /source/blender/nodes/geometry/nodes/node_geo_material_selection.cc | |
parent | b8b9023d8cd7e0be93f83533c37f50931a2a7c56 (diff) |
Geometry Nodes: remove reference to anonymous attributes in tooltips
This changes socket inspection for fields according to T91881.
Differential Revision: https://developer.blender.org/D13006
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_material_selection.cc')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_material_selection.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_material_selection.cc b/source/blender/nodes/geometry/nodes/node_geo_material_selection.cc index 9d4533b9bda..7dffc7793e5 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_material_selection.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_material_selection.cc @@ -59,8 +59,9 @@ class MaterialSelectionFieldInput final : public fn::FieldInput { public: MaterialSelectionFieldInput(Material *material) - : fn::FieldInput(CPPType::get<bool>(), "Material Selection"), material_(material) + : fn::FieldInput(CPPType::get<bool>(), "Material Selection node"), material_(material) { + category_ = Category::Generated; } const GVArray *get_varray_for_context(const fn::FieldContext &context, |