Fix #31951 Subdivide with multires splits uvs.
The bug is related to 31581 and the main cause is the small offset that BM_loop_interp_from_face introduces before calculating barycentric weights. Solved by only calculating displacement layer.
This commit is contained in:
@@ -354,12 +354,12 @@ BMFace *BM_face_split(BMesh *bm, BMFace *f, BMVert *v1, BMVert *v2, BMLoop **r_l
|
||||
|
||||
l_iter = l_first = BM_FACE_FIRST_LOOP(f);
|
||||
do {
|
||||
BM_loop_interp_from_face(bm, l_iter, of, FALSE, TRUE);
|
||||
BM_loop_interp_multires(bm, l_iter, of);
|
||||
} while ((l_iter = l_iter->next) != l_first);
|
||||
|
||||
l_iter = l_first = BM_FACE_FIRST_LOOP(nf);
|
||||
do {
|
||||
BM_loop_interp_from_face(bm, l_iter, of, FALSE, TRUE);
|
||||
BM_loop_interp_multires(bm, l_iter, of);
|
||||
} while ((l_iter = l_iter->next) != l_first);
|
||||
|
||||
BM_face_kill(bm, of);
|
||||
|
Reference in New Issue
Block a user