Geometry Nodes: Use consistent default for cylinder node
- Use 2m height instead of 1m - Default to N-Gon fill for the top and bottom
This commit is contained in:
parent
be33d3eccd
commit
1cc427ce2b
|
@ -27,7 +27,7 @@
|
|||
static bNodeSocketTemplate geo_node_mesh_primitive_cylinder_in[] = {
|
||||
{SOCK_INT, N_("Vertices"), 32, 0.0f, 0.0f, 0.0f, 3, 4096},
|
||||
{SOCK_FLOAT, N_("Radius"), 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, FLT_MAX, PROP_DISTANCE},
|
||||
{SOCK_FLOAT, N_("Depth"), 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, FLT_MAX, PROP_DISTANCE},
|
||||
{SOCK_FLOAT, N_("Depth"), 2.0f, 0.0f, 0.0f, 0.0f, 0.0f, FLT_MAX, PROP_DISTANCE},
|
||||
{SOCK_VECTOR, N_("Location"), 0.0f, 0.0f, 0.0f, 0.0f, -FLT_MAX, FLT_MAX, PROP_TRANSLATION},
|
||||
{SOCK_VECTOR, N_("Rotation"), 0.0f, 0.0f, 0.0f, 0.0f, -FLT_MAX, FLT_MAX, PROP_EULER},
|
||||
{-1, ""},
|
||||
|
@ -52,7 +52,7 @@ static void geo_node_mesh_primitive_cylinder_init(bNodeTree *UNUSED(ntree), bNod
|
|||
NodeGeometryMeshCylinder *node_storage = (NodeGeometryMeshCylinder *)MEM_callocN(
|
||||
sizeof(NodeGeometryMeshCylinder), __func__);
|
||||
|
||||
node_storage->fill_type = GEO_NODE_MESH_CIRCLE_FILL_NONE;
|
||||
node_storage->fill_type = GEO_NODE_MESH_CIRCLE_FILL_NGON;
|
||||
|
||||
node->storage = node_storage;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue