Fix typo in doc. CurNurb.setType() was getType() which hid the
authorStephen Swaney <sswaney@centurytel.net>
Thu, 13 Apr 2006 01:41:42 +0000 (01:41 +0000)
committerStephen Swaney <sswaney@centurytel.net>
Thu, 13 Apr 2006 01:41:42 +0000 (01:41 +0000)
real getType() definition and made getType() into the setter.   All that
confusion from a single character!

source/blender/python/api2_2x/doc/Curve.py

index 0662d22957ddd6bfb63247f1ac809f9d65ec7e98..2397f60b67c5ecd34946db66f8278d7b13784084 100644 (file)
@@ -558,7 +558,7 @@ class CurNurb:
       @return:  0 - Poly, 1 - Bezier, 4 - NURBS
       """
 
-    def getType( value ):
+    def setType( value ):
       """
       Set the type of the curve and converts the curve to its new type if needed
       @type value: integer