Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2006-04-13 05:41:42 +0400
committerStephen Swaney <sswaney@centurytel.net>2006-04-13 05:41:42 +0400
commit619d313f01dee64c497f929fc2bacb611db0bd18 (patch)
treee3455d712552d725c6bf3e00cd696339e1880c3b
parent371008fe1e145655cc929d25a327e205e6e841c1 (diff)
Fix typo in doc. CurNurb.setType() was getType() which hid the
real getType() definition and made getType() into the setter. All that confusion from a single character!
-rw-r--r--source/blender/python/api2_2x/doc/Curve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/doc/Curve.py b/source/blender/python/api2_2x/doc/Curve.py
index 0662d22957d..2397f60b67c 100644
--- a/source/blender/python/api2_2x/doc/Curve.py
+++ b/source/blender/python/api2_2x/doc/Curve.py
@@ -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