Differential D13466 Diff 46665 source/blender/nodes/geometry/nodes/legacy/node_geo_legacy_curve_to_points.cc
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/geometry/nodes/legacy/node_geo_legacy_curve_to_points.cc
| Show First 20 Lines • Show All 346 Lines • ▼ Show 20 Lines | |||||
| void register_node_type_geo_legacy_curve_to_points() | void register_node_type_geo_legacy_curve_to_points() | ||||
| { | { | ||||
| namespace file_ns = blender::nodes::node_geo_legacy_curve_to_points_cc; | namespace file_ns = blender::nodes::node_geo_legacy_curve_to_points_cc; | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| geo_node_type_base( | geo_node_type_base( | ||||
| &ntype, GEO_NODE_LEGACY_CURVE_TO_POINTS, "Curve to Points", NODE_CLASS_GEOMETRY, 0); | &ntype, GEO_NODE_LEGACY_CURVE_TO_POINTS, "Curve to Points", NODE_CLASS_GEOMETRY); | ||||
| ntype.declare = file_ns::node_declare; | ntype.declare = file_ns::node_declare; | ||||
| ntype.geometry_node_execute = file_ns::node_geo_exec; | ntype.geometry_node_execute = file_ns::node_geo_exec; | ||||
| ntype.draw_buttons = file_ns::node_layout; | ntype.draw_buttons = file_ns::node_layout; | ||||
| node_type_storage( | node_type_storage( | ||||
| &ntype, "NodeGeometryCurveToPoints", node_free_standard_storage, node_copy_standard_storage); | &ntype, "NodeGeometryCurveToPoints", node_free_standard_storage, node_copy_standard_storage); | ||||
| node_type_init(&ntype, file_ns::node_init); | node_type_init(&ntype, file_ns::node_init); | ||||
| node_type_update(&ntype, file_ns::node_update); | node_type_update(&ntype, file_ns::node_update); | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||