Bugfix: (Mario Kishalmi patch)
Edge slide bug: when multiple vertical subdivisions exist, the UVs for a slide or loopcut-slide operation were wrong.
This commit is contained in:
@@ -4513,7 +4513,7 @@ static int createSlideVerts(TransInfo *t)
|
||||
look = look->next;
|
||||
}
|
||||
|
||||
// make sure the UPs nad DOWNs are 'faceloops'
|
||||
// make sure the UPs and DOWNs are 'faceloops'
|
||||
// Also find the nearest slidevert to the cursor
|
||||
|
||||
look = vertlist;
|
||||
@@ -4669,7 +4669,7 @@ static int createSlideVerts(TransInfo *t)
|
||||
uv_new = tf->uv[k];
|
||||
|
||||
if (ev->tmp.l) {
|
||||
if (fabs(suv->origuv[0]-uv_new[0]) > 0.0001 || fabs(suv->origuv[1]-uv_new[1])) {
|
||||
if (fabs(suv->origuv[0]-uv_new[0]) > 0.0001f || fabs(suv->origuv[1]-uv_new[1]) > 0.0001f) {
|
||||
ev->tmp.l = -1; /* Tag as invalid */
|
||||
BLI_linklist_free(suv->fuv_list,NULL);
|
||||
suv->fuv_list = NULL;
|
||||
|
||||
Reference in New Issue
Block a user