- Unwrapper setting got reset unnecessarily in do_versions. - UV pixel snapping did floor rounding, nearest pixel is nicer. - Draw Faces button didn't trigger UV editor redraw.
This commit is contained in:
@@ -1829,8 +1829,8 @@ void flushTransUVs(TransInfo *t)
|
||||
td->loc2d[1]= td->loc[1]*invy;
|
||||
|
||||
if((G.sima->flag & SI_PIXELSNAP) && (t->state != TRANS_CANCEL)) {
|
||||
td->loc2d[0]= floor(width*td->loc2d[0])/width;
|
||||
td->loc2d[1]= floor(height*td->loc2d[1])/height;
|
||||
td->loc2d[0]= floor(width*td->loc2d[0] + 0.5f)/width;
|
||||
td->loc2d[1]= floor(height*td->loc2d[1] + 0.5f)/height;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user