Wrong argument for internal snap call.
authorMartin Poirier <theeth@yahoo.com>
Wed, 3 Feb 2010 20:49:05 +0000 (20:49 +0000)
committerMartin Poirier <theeth@yahoo.com>
Wed, 3 Feb 2010 20:49:05 +0000 (20:49 +0000)
source/blender/editors/transform/transform_snap.c

index c80a0929e1842ec2603632a4499613f5d00644f1..1bb178076b401df1cdc6dd2fed02f0fc51820160 100644 (file)
@@ -273,7 +273,7 @@ void applyProject(TransInfo *t)
                        
                        project_float(t->ar, iloc, mval);
                        
-                       if (snapObjectsTransform(t, mval, &dist, loc, no, t->tsnap.target))
+                       if (snapObjectsTransform(t, mval, &dist, loc, no, t->tsnap.modeSelect))
                        {
 //                             if(t->flag & (T_EDIT|T_POSE)) {
 //                                     mul_m4_v3(imat, loc);