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/BPy_Interface0D.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_Interface0D.cpp38
1 files changed, 11 insertions, 27 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Interface0D.cpp b/source/blender/freestyle/intern/python/BPy_Interface0D.cpp
index 40e5267460b..628a9d43b6c 100644
--- a/source/blender/freestyle/intern/python/BPy_Interface0D.cpp
+++ b/source/blender/freestyle/intern/python/BPy_Interface0D.cpp
@@ -275,42 +275,26 @@ static PyObject *Interface0D_nature_get(BPy_Interface0D *self, void *UNUSED(clos
}
static PyGetSetDef BPy_Interface0D_getseters[] = {
- {(char *)"name",
- (getter)Interface0D_name_get,
- (setter)NULL,
- (char *)Interface0D_name_doc,
- NULL},
- {(char *)"point_3d",
- (getter)Interface0D_point_3d_get,
- (setter)NULL,
- (char *)Interface0D_point_3d_doc,
- NULL},
- {(char *)"projected_x",
+ {"name", (getter)Interface0D_name_get, (setter)NULL, Interface0D_name_doc, NULL},
+ {"point_3d", (getter)Interface0D_point_3d_get, (setter)NULL, Interface0D_point_3d_doc, NULL},
+ {"projected_x",
(getter)Interface0D_projected_x_get,
(setter)NULL,
- (char *)Interface0D_projected_x_doc,
+ Interface0D_projected_x_doc,
NULL},
- {(char *)"projected_y",
+ {"projected_y",
(getter)Interface0D_projected_y_get,
(setter)NULL,
- (char *)Interface0D_projected_y_doc,
+ Interface0D_projected_y_doc,
NULL},
- {(char *)"projected_z",
+ {"projected_z",
(getter)Interface0D_projected_z_get,
(setter)NULL,
- (char *)Interface0D_projected_z_doc,
- NULL},
- {(char *)"point_2d",
- (getter)Interface0D_point_2d_get,
- (setter)NULL,
- (char *)Interface0D_point_2d_doc,
- NULL},
- {(char *)"id", (getter)Interface0D_id_get, (setter)NULL, (char *)Interface0D_id_doc, NULL},
- {(char *)"nature",
- (getter)Interface0D_nature_get,
- (setter)NULL,
- (char *)Interface0D_nature_doc,
+ Interface0D_projected_z_doc,
NULL},
+ {"point_2d", (getter)Interface0D_point_2d_get, (setter)NULL, Interface0D_point_2d_doc, NULL},
+ {"id", (getter)Interface0D_id_get, (setter)NULL, Interface0D_id_doc, NULL},
+ {"nature", (getter)Interface0D_nature_get, (setter)NULL, Interface0D_nature_doc, NULL},
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
};