mesh.update() now has option to calculate tessellation faces.

This commit is contained in:
2012-03-02 14:46:14 +00:00
parent 8856a9cbcd
commit 63f5b96fe3
3 changed files with 11 additions and 5 deletions

View File

@@ -67,6 +67,7 @@ void RNA_api_mesh(StructRNA *srna)
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 Tesselation", "Force recalculation of tesselation faces");
RNA_def_function_flag(func, FUNC_USE_CONTEXT);
func= RNA_def_function(srna, "unit_test_compare", "rna_Mesh_unit_test_compare");