Cleanup: Clang Format

This commit is contained in:
2021-02-25 20:31:22 -05:00
parent 81e795e7f0
commit c67b03b810
3 changed files with 16 additions and 8 deletions

View File

@@ -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);