From 370ab6b7afb2f55b48ed2511e708cf9e401ada42 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Tue, 4 Jan 2005 14:34:28 +0000 Subject: [PATCH] Requested by Stephane SOPPERA, Made NMESH_SUBDIV_MIN 0 instead of 1 so NMesh is like the gui... Kent --- source/blender/python/api2_2x/NMesh.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/blender/python/api2_2x/NMesh.c b/source/blender/python/api2_2x/NMesh.c index 9b11d783af4..354e7303134 100644 --- a/source/blender/python/api2_2x/NMesh.c +++ b/source/blender/python/api2_2x/NMesh.c @@ -68,18 +68,18 @@ /* EXPP Mesh defines */ -#define EXPP_NMESH_MODE_NOPUNOFLIP ME_NOPUNOFLIP +#define EXPP_NMESH_MODE_NOPUNOFLIP ME_NOPUNOFLIP #define EXPP_NMESH_MODE_TWOSIDED ME_TWOSIDED -#define EXPP_NMESH_MODE_AUTOSMOOTH ME_AUTOSMOOTH +#define EXPP_NMESH_MODE_AUTOSMOOTH ME_AUTOSMOOTH #define EXPP_NMESH_MODE_SUBSURF ME_SUBSURF #define EXPP_NMESH_MODE_OPTIMAL ME_OPT_EDGES #define NMESH_FRAME_MAX 18000 #define NMESH_SMOOTHRESH 30 -#define NMESH_SMOOTHRESH_MIN 1 -#define NMESH_SMOOTHRESH_MAX 80 -#define NMESH_SUBDIV 1 -#define NMESH_SUBDIV_MIN 1 +#define NMESH_SMOOTHRESH_MIN 1 +#define NMESH_SMOOTHRESH_MAX 80 +#define NMESH_SUBDIV 1 +#define NMESH_SUBDIV_MIN 0 #define NMESH_SUBDIV_MAX 6 /* Globals */ @@ -224,7 +224,7 @@ static char NMesh_getSubDivLevels_doc[] = static char NMesh_setSubDivLevels_doc[] = "([int, int]) - set the subdivision levels for [display, render] -- they are\n\ -clamped to the range [1,6]."; +clamped to the range [0,6]."; static char M_NMesh_New_doc[] = "() - returns a new, empty NMesh mesh object\n";