[Bf-blender-cvs] [9a0a31fd75f] temp-compact-node-prototype: cleanup
Jacques Lucke
noreply at git.blender.org
Thu Mar 25 16:11:07 CET 2021
Commit: 9a0a31fd75fcf1be4a5259538a89c3d456371b9d
Author: Jacques Lucke
Date: Thu Mar 25 13:41:21 2021 +0100
Branches: temp-compact-node-prototype
https://developer.blender.org/rB9a0a31fd75fcf1be4a5259538a89c3d456371b9d
cleanup
===================================================================
M source/blender/nodes/NOD_geometry_exec.hh
M source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc
===================================================================
diff --git a/source/blender/nodes/NOD_geometry_exec.hh b/source/blender/nodes/NOD_geometry_exec.hh
index 5d1a217db9b..ba606dacdb0 100644
--- a/source/blender/nodes/NOD_geometry_exec.hh
+++ b/source/blender/nodes/NOD_geometry_exec.hh
@@ -254,4 +254,10 @@ class GeoNodeExecParams {
const bNodeSocket *find_available_socket(const StringRef name) const;
};
+void draw_input_socket(bContext *C,
+ uiLayout *layout,
+ PointerRNA *node_ptr,
+ StringRef socket_name,
+ StringRef additional_enum_prop = "");
+
} // namespace blender::nodes
diff --git a/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc b/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc
index aa13efd0315..3b4f10da765 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc
@@ -144,11 +144,11 @@ static void draw_socket_menu(bContext *UNUSED(C), uiLayout *layout, void *arg)
}
}
-static void draw_input_socket(bContext *C,
- uiLayout *layout,
- PointerRNA *node_ptr,
- StringRef socket_name,
- StringRef additional_enum_prop = "")
+void draw_input_socket(bContext *C,
+ uiLayout *layout,
+ PointerRNA *node_ptr,
+ StringRef socket_name,
+ StringRef additional_enum_prop)
{
bNodeTree *ntree = (bNodeTree *)node_ptr->owner_id;
bNode *node = (bNode *)node_ptr->data;
More information about the Bf-blender-cvs
mailing list