RNA: Expose autosmooth face splitting
This way render engine can request mesh to be auto-split and not worry about implementing this functionality on it's own. Please note that this split is to be performed prior to tessellation.
This commit is contained in:
parent
7e5a0c146e
commit
05fd3b586f
|
@ -240,6 +240,9 @@ void RNA_api_mesh(StructRNA *srna)
|
|||
func = RNA_def_function(srna, "free_normals_split", "rna_Mesh_free_normals_split");
|
||||
RNA_def_function_ui_description(func, "Free split vertex normals");
|
||||
|
||||
func = RNA_def_function(srna, "split_faces", "BKE_mesh_split_faces");
|
||||
RNA_def_function_ui_description(func, "Spli faces based on the edge angle");
|
||||
|
||||
func = RNA_def_function(srna, "calc_tangents", "rna_Mesh_calc_tangents");
|
||||
RNA_def_function_flag(func, FUNC_USE_REPORTS);
|
||||
RNA_def_function_ui_description(func,
|
||||
|
|
Loading…
Reference in New Issue