diff options
Diffstat (limited to 'source/blender/nodes/geometry')
3 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/nodes/geometry/node_geometry_tree.cc b/source/blender/nodes/geometry/node_geometry_tree.cc index 748596ff9e3..3f4089807bc 100644 --- a/source/blender/nodes/geometry/node_geometry_tree.cc +++ b/source/blender/nodes/geometry/node_geometry_tree.cc @@ -113,7 +113,8 @@ static bool geometry_node_tree_socket_type_valid(bNodeTreeType *UNUSED(ntreetype SOCK_MATERIAL); } -void register_node_tree_type_geo(){ +void register_node_tree_type_geo() +{ bNodeTreeType *tt = ntreeType_Geometry = static_cast<bNodeTreeType *>( MEM_callocN(sizeof(bNodeTreeType), "geometry node tree type")); tt->type = NTREE_GEOMETRY; diff --git a/source/blender/nodes/geometry/nodes/node_geo_common.cc b/source/blender/nodes/geometry/nodes/node_geo_common.cc index 630d2157d32..1a8d04e5da9 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_common.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_common.cc @@ -22,7 +22,8 @@ #include "node_common.h" #include "node_geometry_util.hh" -void register_node_type_geo_group(){ +void register_node_type_geo_group() +{ static bNodeType ntype; node_type_base_custom(&ntype, "GeometryNodeGroup", "Group", NODE_CLASS_GROUP, 0); diff --git a/source/blender/nodes/geometry/nodes/node_geo_image_texture.cc b/source/blender/nodes/geometry/nodes/node_geo_image_texture.cc index 5aaa42ecb45..0003f15854d 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_image_texture.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_image_texture.cc @@ -410,7 +410,8 @@ static void node_geo_exec(GeoNodeExecParams params) } // namespace blender::nodes::node_geo_image_texture_cc -void register_node_type_geo_image_texture(){ +void register_node_type_geo_image_texture() +{ namespace file_ns = blender::nodes::node_geo_image_texture_cc; static bNodeType ntype; |