diff options
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_types_meshdata.c')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_meshdata.c | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.c b/source/blender/python/bmesh/bmesh_py_types_meshdata.c index 0fd6d74c324..08d934251af 100644 --- a/source/blender/python/bmesh/bmesh_py_types_meshdata.c +++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.c @@ -99,25 +99,21 @@ static int bpy_bmloopuv_flag_set(BPy_BMLoopUV *self, PyObject *value, void *flag static PyGetSetDef bpy_bmloopuv_getseters[] = { /* attributes match rna_def_mloopuv */ - {(char *)"uv", - (getter)bpy_bmloopuv_uv_get, - (setter)bpy_bmloopuv_uv_set, - (char *)bpy_bmloopuv_uv_doc, - NULL}, - {(char *)"pin_uv", + {"uv", (getter)bpy_bmloopuv_uv_get, (setter)bpy_bmloopuv_uv_set, bpy_bmloopuv_uv_doc, NULL}, + {"pin_uv", (getter)bpy_bmloopuv_flag_get, (setter)bpy_bmloopuv_flag_set, - (char *)bpy_bmloopuv_flag__pin_uv_doc, + bpy_bmloopuv_flag__pin_uv_doc, (void *)MLOOPUV_PINNED}, - {(char *)"select", + {"select", (getter)bpy_bmloopuv_flag_get, (setter)bpy_bmloopuv_flag_set, - (char *)bpy_bmloopuv_flag__select_doc, + bpy_bmloopuv_flag__select_doc, (void *)MLOOPUV_VERTSEL}, - {(char *)"select_edge", + {"select_edge", (getter)bpy_bmloopuv_flag_get, (setter)bpy_bmloopuv_flag_set, - (char *)bpy_bmloopuv_flag__select_edge_doc, + bpy_bmloopuv_flag__select_edge_doc, (void *)MLOOPUV_EDGESEL}, {NULL, NULL, NULL, NULL, NULL} /* Sentinel */ @@ -219,20 +215,20 @@ static int bpy_bmvertskin_flag_set(BPy_BMVertSkin *self, PyObject *value, void * static PyGetSetDef bpy_bmvertskin_getseters[] = { /* attributes match rna_mesh_gen */ - {(char *)"radius", + {"radius", (getter)bpy_bmvertskin_radius_get, (setter)bpy_bmvertskin_radius_set, - (char *)bpy_bmvertskin_radius_doc, + bpy_bmvertskin_radius_doc, NULL}, - {(char *)"use_root", + {"use_root", (getter)bpy_bmvertskin_flag_get, (setter)bpy_bmvertskin_flag_set, - (char *)bpy_bmvertskin_flag__use_root_doc, + bpy_bmvertskin_flag__use_root_doc, (void *)MVERT_SKIN_ROOT}, - {(char *)"use_loose", + {"use_loose", (getter)bpy_bmvertskin_flag_get, (setter)bpy_bmvertskin_flag_set, - (char *)bpy_bmvertskin_flag__use_loose_doc, + bpy_bmvertskin_flag__use_loose_doc, (void *)MVERT_SKIN_LOOSE}, {NULL, NULL, NULL, NULL, NULL} /* Sentinel */ |