Update Python API to change to curve 'extrude' limit from 5 to 100.

This commit is contained in:
Ken Hughes
2007-09-03 16:56:09 +00:00
parent cd99c7beb9
commit 072c926aab

View File

@@ -338,9 +338,9 @@ static int Curve_newsetExt1( BPy_Curve * self, PyObject * args )
value = (float)PyFloat_AS_DOUBLE( num );
Py_DECREF( num );
if(value > 5.0f || value < 0.0f)
if(value > 100.0f || value < 0.0f)
return EXPP_ReturnIntError( PyExc_ValueError,
"acceptable values are between 0.0 and 5.0" );
"acceptable values are between 0.0 and 100.0" );
self->curve->ext1 = value;
return 0;