Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-02-26 04:31:22 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-02-26 04:31:55 +0300
commitc67b03b810f41c210b899e77c1e26e5b2db75b31 (patch)
treee4a375c5e6941fefe3557af2fc118b2d472a0676 /source/blender/makesrna/intern/rna_particle.c
parent81e795e7f011e7746b969c877cfaaeeab100883a (diff)
Cleanup: Clang Format
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c13
1 files changed, 8 insertions, 5 deletions
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");