Fix T89329: icosphere subdivisions can be set to 0

Differential Revision: https://developer.blender.org/D11658
This commit is contained in:
Daniel Salazar 2021-06-21 11:09:41 +02:00 committed by Jacques Lucke
parent 002d563bbb
commit f383cad329
Notes: blender-bot 2023-02-14 05:50:03 +01:00
Referenced by issue #89329, Geometry nodes UI:  Icosphere mesh primitive can be set to 0
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
static bNodeSocketTemplate geo_node_mesh_primitive_ico_sphere_in[] = {
{SOCK_FLOAT, N_("Radius"), 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, FLT_MAX, PROP_DISTANCE},
{SOCK_INT, N_("Subdivisions"), 1, 0, 0, 0, 0, 7},
{SOCK_INT, N_("Subdivisions"), 1, 0, 0, 0, 1, 7},
{-1, ""},
};