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_StrokeAttribute.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp b/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
index e3d6738058e..5f5407e82e3 100644
--- a/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
+++ b/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
@@ -657,25 +657,25 @@ static int StrokeAttribute_visible_set(BPy_StrokeAttribute *self,
}
static PyGetSetDef BPy_StrokeAttribute_getseters[] = {
- {(char *)"alpha",
+ {"alpha",
(getter)StrokeAttribute_alpha_get,
(setter)StrokeAttribute_alpha_set,
- (char *)StrokeAttribute_alpha_doc,
+ StrokeAttribute_alpha_doc,
NULL},
- {(char *)"color",
+ {"color",
(getter)StrokeAttribute_color_get,
(setter)StrokeAttribute_color_set,
- (char *)StrokeAttribute_color_doc,
+ StrokeAttribute_color_doc,
NULL},
- {(char *)"thickness",
+ {"thickness",
(getter)StrokeAttribute_thickness_get,
(setter)StrokeAttribute_thickness_set,
- (char *)StrokeAttribute_thickness_doc,
+ StrokeAttribute_thickness_doc,
NULL},
- {(char *)"visible",
+ {"visible",
(getter)StrokeAttribute_visible_get,
(setter)StrokeAttribute_visible_set,
- (char *)StrokeAttribute_visible_doc,
+ StrokeAttribute_visible_doc,
NULL},
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
};