Mesh: Replace auto smooth with node group #108014

Merged
Hans Goudey merged 149 commits from HooglyBoogly/blender:refactor-mesh-corner-normals-lazy into main 2023-10-20 16:54:20 +02:00
1 changed files with 4 additions and 5 deletions
Showing only changes of commit 0455e8caa4 - Show all commits

View File

@ -2213,11 +2213,10 @@ static void rna_def_mloop(BlenderRNA *brna)
RNA_def_property_array(prop, 3);
RNA_def_property_range(prop, -1.0f, 1.0f);
RNA_def_property_float_funcs(prop, "rna_MeshLoop_normal_get", nullptr, nullptr);
HooglyBoogly marked this conversation as resolved Outdated

Think the description below has to be updated.

Think the description below has to be updated.
RNA_def_property_ui_text(
prop,
"Normal",
"Local space unit length split normal vector of this vertex for this face "
"(must be computed beforehand using calc_normals_split or calc_tangents)");
RNA_def_property_ui_text(prop,
"Normal",
"The normal direction of the face corner, taking into account sharp "
"faces, sharp edges, and custom normal data");
prop = RNA_def_property(srna, "tangent", PROP_FLOAT, PROP_DIRECTION);
RNA_def_property_array(prop, 3);