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:
authorCampbell Barton <ideasman42@gmail.com>2019-12-20 02:42:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-12-20 02:42:57 +0300
commit9a9f39e4661163391bb8e3eb782438e425abe684 (patch)
treee67dc76e18b408a2708dc5b5f7a7b3e89bd552cf /source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
parent6ccef2aa7e010c1e5b6986a696dc27ef8826c6c2 (diff)
Cleanup: remove redundant 'char *' casts
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 */
};