Mesh faces split: Add missing vertex normal copy
This commit is contained in:
parent
333dc8d60f
commit
75ce4ebc12
@ -2269,6 +2269,7 @@ static void split_faces_split_verts(Mesh *mesh,
|
|||||||
if ((vert_flags[ml->v] & SPLIT_VERT_REUSED) == 0) {
|
if ((vert_flags[ml->v] & SPLIT_VERT_REUSED) == 0) {
|
||||||
/* Ignore first split on vertex, re-use it instead. */
|
/* Ignore first split on vertex, re-use it instead. */
|
||||||
vert_flags[ml->v] |= SPLIT_VERT_REUSED;
|
vert_flags[ml->v] |= SPLIT_VERT_REUSED;
|
||||||
|
normal_float_to_short_v3(mvert[ml->v].no, lnors[poly_loop]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/* Create new vertex. */
|
/* Create new vertex. */
|
||||||
|
Loading…
Reference in New Issue
Block a user