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:
Diffstat (limited to 'source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp')
-rw-r--r--source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp16
1 files changed, 4 insertions, 12 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
index abc10b75ea1..6ea61a060cb 100644
--- a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
+++ b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
@@ -123,21 +123,13 @@ static PyObject *CurvePointIterator_u_get(BPy_CurvePointIterator *self, void *UN
}
static PyGetSetDef BPy_CurvePointIterator_getseters[] = {
- {(char *)"object",
+ {"object",
(getter)CurvePointIterator_object_get,
(setter)NULL,
- (char *)CurvePointIterator_object_doc,
- NULL},
- {(char *)"t",
- (getter)CurvePointIterator_t_get,
- (setter)NULL,
- (char *)CurvePointIterator_t_doc,
- NULL},
- {(char *)"u",
- (getter)CurvePointIterator_u_get,
- (setter)NULL,
- (char *)CurvePointIterator_u_doc,
+ CurvePointIterator_object_doc,
NULL},
+ {"t", (getter)CurvePointIterator_t_get, (setter)NULL, CurvePointIterator_t_doc, NULL},
+ {"u", (getter)CurvePointIterator_u_get, (setter)NULL, CurvePointIterator_u_doc, NULL},
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
};