[Bf-blender-cvs] [c67b03b810f] master: Cleanup: Clang Format

Aaron Carlisle noreply at git.blender.org
Fri Feb 26 02:32:00 CET 2021


Commit: c67b03b810f41c210b899e77c1e26e5b2db75b31
Author: Aaron Carlisle
Date:   Thu Feb 25 20:31:22 2021 -0500
Branches: master
https://developer.blender.org/rBc67b03b810f41c210b899e77c1e26e5b2db75b31

Cleanup: Clang Format

===================================================================

M	source/blender/editors/object/object_select.c
M	source/blender/makesrna/intern/rna_meta.c
M	source/blender/makesrna/intern/rna_particle.c

===================================================================

diff --git a/source/blender/editors/object/object_select.c b/source/blender/editors/object/object_select.c
index 398ad89a694..9160190764c 100644
--- a/source/blender/editors/object/object_select.c
+++ b/source/blender/editors/object/object_select.c
@@ -1311,7 +1311,8 @@ void OBJECT_OT_select_mirror(wmOperatorType *ot)
 
   /* identifiers */
   ot->name = "Select Mirror";
-  ot->description = "Select the mirror objects of the selected object e.g. \"L.sword\" and \"R.sword\"";
+  ot->description =
+      "Select the mirror objects of the selected object e.g. \"L.sword\" and \"R.sword\"";
   ot->idname = "OBJECT_OT_select_mirror";
 
   /* api callbacks */
diff --git a/source/blender/makesrna/intern/rna_meta.c b/source/blender/makesrna/intern/rna_meta.c
index ffdd75e63ac..d5018a6911d 100644
--- a/source/blender/makesrna/intern/rna_meta.c
+++ b/source/blender/makesrna/intern/rna_meta.c
@@ -294,8 +294,12 @@ static void rna_def_metaball_elements(BlenderRNA *brna, PropertyRNA *cprop)
 
   func = RNA_def_function(srna, "new", "rna_MetaBall_elements_new");
   RNA_def_function_ui_description(func, "Add a new element to the metaball");
-  RNA_def_enum(
-      func, "type", rna_enum_metaelem_type_items, MB_BALL, "", "Type for the new metaball element");
+  RNA_def_enum(func,
+               "type",
+               rna_enum_metaelem_type_items,
+               MB_BALL,
+               "",
+               "Type for the new metaball element");
   parm = RNA_def_pointer(func, "element", "MetaElement", "", "The newly created metaball element");
   RNA_def_function_return(func, parm);
 
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 9e8a2b83f07..f81f965d0c8 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -1921,8 +1921,9 @@ static void rna_def_particle_dupliweight(BlenderRNA *brna)
   PropertyRNA *prop;
 
   srna = RNA_def_struct(brna, "ParticleDupliWeight", NULL);
-  RNA_def_struct_ui_text(
-      srna, "Particle Instance Object Weight", "Weight of a particle instance object in a collection");
+  RNA_def_struct_ui_text(srna,
+                         "Particle Instance Object Weight",
+                         "Weight of a particle instance object in a collection");
   RNA_def_struct_sdna(srna, "ParticleDupliWeight");
 
   prop = RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
@@ -3170,7 +3171,8 @@ static void rna_def_particle_settings(BlenderRNA *brna)
   RNA_def_property_int_sdna(prop, NULL, "ren_child_nbr");
   RNA_def_property_range(prop, 0, 100000);
   RNA_def_property_ui_range(prop, 0, 10000, 1, -1);
-  RNA_def_property_ui_text(prop, "Rendered Children", "Number of children per parent for rendering");
+  RNA_def_property_ui_text(
+      prop, "Rendered Children", "Number of children per parent for rendering");
 
   prop = RNA_def_property(srna, "virtual_parents", PROP_FLOAT, PROP_FACTOR);
   RNA_def_property_float_sdna(prop, NULL, "parents");
@@ -3463,8 +3465,9 @@ static void rna_def_particle_settings(BlenderRNA *brna)
   prop = RNA_def_property(srna, "instance_weights", PROP_COLLECTION, PROP_NONE);
   RNA_def_property_collection_sdna(prop, NULL, "instance_weights", NULL);
   RNA_def_property_struct_type(prop, "ParticleDupliWeight");
-  RNA_def_property_ui_text(
-      prop, "Instance Collection Weights", "Weights for all of the objects in the instance collection");
+  RNA_def_property_ui_text(prop,
+                           "Instance Collection Weights",
+                           "Weights for all of the objects in the instance collection");
 
   prop = RNA_def_property(srna, "active_instanceweight", PROP_POINTER, PROP_NONE);
   RNA_def_property_struct_type(prop, "ParticleDupliWeight");



More information about the Bf-blender-cvs mailing list