[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11931] trunk/blender/source/blender/ python/api2_2x/Curve.c: Update Python API to change to curve 'extrude' limit from 5 to 100.

Ken Hughes khughes at pacific.edu
Mon Sep 3 18:56:09 CEST 2007


Revision: 11931
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11931
Author:   khughes
Date:     2007-09-03 18:56:09 +0200 (Mon, 03 Sep 2007)

Log Message:
-----------
Update Python API to change to curve 'extrude' limit from 5 to 100.

Modified Paths:
--------------
    trunk/blender/source/blender/python/api2_2x/Curve.c

Modified: trunk/blender/source/blender/python/api2_2x/Curve.c
===================================================================
--- trunk/blender/source/blender/python/api2_2x/Curve.c	2007-09-03 16:51:04 UTC (rev 11930)
+++ trunk/blender/source/blender/python/api2_2x/Curve.c	2007-09-03 16:56:09 UTC (rev 11931)
@@ -338,9 +338,9 @@
 	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;





More information about the Bf-blender-cvs mailing list