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

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, ""},
};