diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-13 15:08:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-13 15:08:51 +0300 |
commit | d1f9fcaabcc64f224467523bb1258c59ebfb8209 (patch) | |
tree | 030c4ac96bd045b5284022f98c5dec46b71471a0 /source | |
parent | d2da8aa27aad3e97365e6cae80d3c516073529c9 (diff) |
Cleanup: style
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenfont/intern/blf_thumbs.c | 2 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_utils.c | 3 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_ID.c | 8 |
3 files changed, 9 insertions, 4 deletions
diff --git a/source/blender/blenfont/intern/blf_thumbs.c b/source/blender/blenfont/intern/blf_thumbs.c index 3c400d0b8e4..7c0a43e09ee 100644 --- a/source/blender/blenfont/intern/blf_thumbs.c +++ b/source/blender/blenfont/intern/blf_thumbs.c @@ -66,7 +66,7 @@ void BLF_thumb_preview( /* shrink 1/th each line */ int font_shrink = 4; - FontBLF* font; + FontBLF *font; int i; /* Create a new blender font obj and fill it with default values */ diff --git a/source/blender/editors/mesh/editmesh_utils.c b/source/blender/editors/mesh/editmesh_utils.c index 1875689415a..4706f0467fd 100644 --- a/source/blender/editors/mesh/editmesh_utils.c +++ b/source/blender/editors/mesh/editmesh_utils.c @@ -865,7 +865,8 @@ UvElementMap *BM_uv_element_map_create(BMesh *bm, const bool selected, const boo sub_v2_v2v2(uvdiff, uv2, uv); if (fabsf(uvdiff[0]) < STD_UV_CONNECT_LIMIT && fabsf(uvdiff[1]) < STD_UV_CONNECT_LIMIT && - winding[BM_elem_index_get(iterv->l->f)] == winding[BM_elem_index_get(v->l->f)]) { + winding[BM_elem_index_get(iterv->l->f)] == winding[BM_elem_index_get(v->l->f)]) + { if (lastv) lastv->next = next; else vlist = next; iterv->next = newvlist; diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index 34ef4cceebd..db25786c599 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -566,7 +566,9 @@ static void rna_def_ID(BlenderRNA *brna) prop = RNA_def_property(srna, "tag", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", LIB_DOIT); RNA_def_property_flag(prop, PROP_LIB_EXCEPTION); - RNA_def_property_ui_text(prop, "Tag", "Tools can use this to tag data for their own purposes (initial state is undefined)."); + RNA_def_property_ui_text(prop, "Tag", + "Tools can use this to tag data for their own purposes " + "(initial state is undefined)"); prop = RNA_def_property(srna, "is_updated", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", LIB_ID_RECALC); @@ -608,7 +610,9 @@ static void rna_def_ID(BlenderRNA *brna) func = RNA_def_function(srna, "update_tag", "rna_ID_update_tag"); RNA_def_function_flag(func, FUNC_USE_REPORTS); - RNA_def_function_ui_description(func, "Tag the ID to update its display data, e.g. when calling :class:`bpy.types.Scene.update`"); + RNA_def_function_ui_description(func, + "Tag the ID to update its display data, " + "e.g. when calling :class:`bpy.types.Scene.update`"); RNA_def_enum_flag(func, "refresh", update_flag_items, 0, "", "Type of updates to perform"); } |