diff options
Diffstat (limited to 'source/blender/python/intern/bpy_app_opensubdiv.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_opensubdiv.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/python/intern/bpy_app_opensubdiv.c b/source/blender/python/intern/bpy_app_opensubdiv.c index e6e84ac30c0..2b3c2f18e43 100644 --- a/source/blender/python/intern/bpy_app_opensubdiv.c +++ b/source/blender/python/intern/bpy_app_opensubdiv.c @@ -32,17 +32,16 @@ static PyTypeObject BlenderAppOpenSubdivType; static PyStructSequence_Field app_opensubdiv_info_fields[] = { - {(char *)"supported", (char *)("Boolean, True when Blender is built with OpenSubdiv support")}, - {(char *)("version"), (char *)("The OpenSubdiv version as a tuple of 3 numbers")}, - {(char *)("version_string"), (char *)("The OpenSubdiv version formatted as a string")}, + {"supported", "Boolean, True when Blender is built with OpenSubdiv support"}, + {"version", "The OpenSubdiv version as a tuple of 3 numbers"}, + {"version_string", "The OpenSubdiv version formatted as a string"}, {NULL}, }; static PyStructSequence_Desc app_opensubdiv_info_desc = { - (char *)"bpy.app.opensubdiv", /* name */ - (char - *)"This module contains information about OpenSubdiv blender is linked against", /* doc */ - app_opensubdiv_info_fields, /* fields */ + "bpy.app.opensubdiv", /* name */ + "This module contains information about OpenSubdiv blender is linked against", /* doc */ + app_opensubdiv_info_fields, /* fields */ ARRAY_SIZE(app_opensubdiv_info_fields) - 1, }; |