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
path: root/source
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2004-06-03 20:23:51 +0400
committerStephen Swaney <sswaney@centurytel.net>2004-06-03 20:23:51 +0400
commit2b7e35b8e7913525809bf6290c5de586f434ad4d (patch)
tree62a65343c03a771876b3d1aa31ba4e876c2294ed /source
parent630de827d746ff28c292155d37238049f11f2578 (diff)
bugfix #1345. Curve.isNurb() segfault fixed.
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/api2_2x/Curve.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/Curve.c b/source/blender/python/api2_2x/Curve.c
index de6ec87b8db..c273a0302a3 100644
--- a/source/blender/python/api2_2x/Curve.c
+++ b/source/blender/python/api2_2x/Curve.c
@@ -177,11 +177,10 @@ Sets a control point "},
METH_NOARGS, "() - Gets curve size"},
{"setSize", (PyCFunction) Curve_setSize,
METH_VARARGS, "(3-tuple) - Sets curve size"},
- {"getNumCurves", (PyCFunction) Curve_getNumCurves,
- METH_NOARGS, "() - Gets # of curves"},
- {"isNurb", (PyCFunction) Curve_isNurb,
- METH_NOARGS,
- "(nothing or integer) - returns 1 or 0, depending upon the curve being a Nurb"},
+ {"getNumCurves", ( PyCFunction ) Curve_getNumCurves,
+ METH_NOARGS, "() - Gets number of curves in Curve"},
+ {"isNurb", ( PyCFunction ) Curve_isNurb,
+ METH_VARARGS, "(nothing or integer) - returns 1 if curve is type Nurb, O otherwise."},
{"getNumPoints", (PyCFunction) Curve_getNumPoints,
METH_VARARGS,
"(nothing or integer) - returns the number of points of the specified curve"},