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