diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2004-06-03 20:23:51 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2004-06-03 20:23:51 +0400 |
commit | 2b7e35b8e7913525809bf6290c5de586f434ad4d (patch) | |
tree | 62a65343c03a771876b3d1aa31ba4e876c2294ed /source | |
parent | 630de827d746ff28c292155d37238049f11f2578 (diff) |
bugfix #1345. Curve.isNurb() segfault fixed.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Curve.c | 9 |
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"}, |