Differential D13466 Diff 46665 source/blender/nodes/geometry/nodes/node_geo_distribute_points_on_faces.cc
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/geometry/nodes/node_geo_distribute_points_on_faces.cc
| Show First 20 Lines • Show All 567 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| namespace file_ns = blender::nodes::node_geo_distribute_points_on_faces_cc; | namespace file_ns = blender::nodes::node_geo_distribute_points_on_faces_cc; | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| geo_node_type_base(&ntype, | geo_node_type_base(&ntype, | ||||
| GEO_NODE_DISTRIBUTE_POINTS_ON_FACES, | GEO_NODE_DISTRIBUTE_POINTS_ON_FACES, | ||||
| "Distribute Points on Faces", | "Distribute Points on Faces", | ||||
| NODE_CLASS_GEOMETRY, | NODE_CLASS_GEOMETRY); | ||||
| 0); | |||||
| node_type_update(&ntype, file_ns::node_point_distribute_points_on_faces_update); | node_type_update(&ntype, file_ns::node_point_distribute_points_on_faces_update); | ||||
| node_type_size(&ntype, 170, 100, 320); | node_type_size(&ntype, 170, 100, 320); | ||||
| 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; | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||