canceling UV transform would still run the be_square function
authorCampbell Barton <ideasman42@gmail.com>
Tue, 13 May 2008 10:19:28 +0000 (10:19 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 13 May 2008 10:19:28 +0000 (10:19 +0000)
source/blender/src/transform_conversions.c

index 9a9a454ef3dbd760132e83ef7fe5eb9df44c0f88..6636c435b8c20fa249d673e56b978d2b0703b60c 100644 (file)
@@ -2306,7 +2306,7 @@ void flushTransUVs(TransInfo *t)
        }
 
        /* always call this, also for cancel (it transforms non-selected vertices...) */
-       if((G.sima->flag & SI_BE_SQUARE))
+       if((G.sima->flag & SI_BE_SQUARE) && (t->state != TRANS_CANCEL))
                be_square_tface_uv(em);
 
        /* this is overkill if G.sima->lock is not set, but still needed */