Geometry Nodes: Set default grid vertices to 3 by 3

This is a relatively arbitrary value, but a good starting point-- it's
simple while also showing the possibility of the subdivisions.

Ref T86819
This commit is contained in:
Hans Goudey 2021-03-30 09:33:42 -05:00
parent a4b6c222fa
commit b1380101df
Notes: blender-bot 2023-02-14 07:53:51 +01:00
Referenced by issue #86819, Adjustments to the Plane/Grid Primitive
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@
static bNodeSocketTemplate geo_node_mesh_primitive_grid_in[] = {
{SOCK_FLOAT, N_("Size"), 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, FLT_MAX, PROP_DISTANCE},
{SOCK_INT, N_("Vertices X"), 10, 0.0f, 0.0f, 0.0f, 2, 1000},
{SOCK_INT, N_("Vertices Y"), 10, 0.0f, 0.0f, 0.0f, 2, 1000},
{SOCK_INT, N_("Vertices X"), 3, 0.0f, 0.0f, 0.0f, 2, 1000},
{SOCK_INT, N_("Vertices Y"), 3, 0.0f, 0.0f, 0.0f, 2, 1000},
{-1, ""},
};