Cleanup: style
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user