diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_mesh_api.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh_api.c b/source/blender/makesrna/intern/rna_mesh_api.c index 988eaccadb2..b58f568309a 100644 --- a/source/blender/makesrna/intern/rna_mesh_api.c +++ b/source/blender/makesrna/intern/rna_mesh_api.c @@ -57,31 +57,31 @@ void RNA_api_mesh(StructRNA *srna) FunctionRNA *func; PropertyRNA *parm; - func= RNA_def_function(srna, "transform", "ED_mesh_transform"); + func = RNA_def_function(srna, "transform", "ED_mesh_transform"); RNA_def_function_ui_description(func, "Transform mesh vertices by a matrix"); - parm= RNA_def_float_matrix(func, "matrix", 4, 4, NULL, 0.0f, 0.0f, "", "Matrix", 0.0f, 0.0f); + parm = RNA_def_float_matrix(func, "matrix", 4, 4, NULL, 0.0f, 0.0f, "", "Matrix", 0.0f, 0.0f); RNA_def_property_flag(parm, PROP_REQUIRED); - func= RNA_def_function(srna, "calc_normals", "ED_mesh_calc_normals"); + func = RNA_def_function(srna, "calc_normals", "ED_mesh_calc_normals"); RNA_def_function_ui_description(func, "Calculate vertex normals"); - func= RNA_def_function(srna, "update", "ED_mesh_update"); + func = RNA_def_function(srna, "update", "ED_mesh_update"); RNA_def_boolean(func, "calc_edges", 0, "Calculate Edges", "Force recalculation of edges"); RNA_def_boolean(func, "calc_tessface", 0, "Calculate Tessellation", "Force recalculation of tessellation faces"); RNA_def_function_flag(func, FUNC_USE_CONTEXT); - func= RNA_def_function(srna, "unit_test_compare", "rna_Mesh_unit_test_compare"); - parm= RNA_def_pointer(func, "mesh", "Mesh", "", "Mesh to compare to"); + func = RNA_def_function(srna, "unit_test_compare", "rna_Mesh_unit_test_compare"); + parm = RNA_def_pointer(func, "mesh", "Mesh", "", "Mesh to compare to"); RNA_def_function_flag(func, FUNC_USE_CONTEXT); /* return value */ - parm= RNA_def_string(func, "result", "nothing", 64, "Return value", "String description of result of comparison"); + parm = RNA_def_string(func, "result", "nothing", 64, "Return value", "String description of result of comparison"); RNA_def_function_return(func, parm); - func= RNA_def_function(srna, "validate", "BKE_mesh_validate"); + func = RNA_def_function(srna, "validate", "BKE_mesh_validate"); RNA_def_function_ui_description(func, "validate geometry, return True when the mesh has had " "invalid geometry corrected/removed"); RNA_def_boolean(func, "verbose", 0, "Verbose", "Output information about the errors found"); - parm= RNA_def_boolean(func, "result", 0, "Result", ""); + parm = RNA_def_boolean(func, "result", 0, "Result", ""); RNA_def_function_return(func, parm); } |