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/Interface1D/FEdge/BPy_FEdgeSmooth.cpp')
-rw-r--r--source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp
index 4c2785509f0..65d9dcbe01f 100644
--- a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp
+++ b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp
@@ -229,25 +229,21 @@ static int FEdgeSmooth_face_mark_set(BPy_FEdgeSmooth *self, PyObject *value, voi
}
static PyGetSetDef BPy_FEdgeSmooth_getseters[] = {
- {(char *)"normal",
+ {"normal",
(getter)FEdgeSmooth_normal_get,
(setter)FEdgeSmooth_normal_set,
- (char *)FEdgeSmooth_normal_doc,
+ FEdgeSmooth_normal_doc,
NULL},
- {(char *)"material_index",
+ {"material_index",
(getter)FEdgeSmooth_material_index_get,
(setter)FEdgeSmooth_material_index_set,
- (char *)FEdgeSmooth_material_index_doc,
+ FEdgeSmooth_material_index_doc,
NULL},
- {(char *)"material",
- (getter)FEdgeSmooth_material_get,
- (setter)NULL,
- (char *)FEdgeSmooth_material_doc,
- NULL},
- {(char *)"face_mark",
+ {"material", (getter)FEdgeSmooth_material_get, (setter)NULL, FEdgeSmooth_material_doc, NULL},
+ {"face_mark",
(getter)FEdgeSmooth_face_mark_get,
(setter)FEdgeSmooth_face_mark_set,
- (char *)FEdgeSmooth_face_mark_doc,
+ FEdgeSmooth_face_mark_doc,
NULL},
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
};