diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-02-26 04:31:22 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-02-26 04:31:55 +0300 |
commit | c67b03b810f41c210b899e77c1e26e5b2db75b31 (patch) | |
tree | e4a375c5e6941fefe3557af2fc118b2d472a0676 /source/blender | |
parent | 81e795e7f011e7746b969c877cfaaeeab100883a (diff) |
Cleanup: Clang Format
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/object/object_select.c | 3 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_meta.c | 8 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 13 |
3 files changed, 16 insertions, 8 deletions
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"); |