dont check for project anymore for ctrl+click, face snapping is enough.
authorCampbell Barton <ideasman42@gmail.com>
Sat, 16 Oct 2010 09:42:52 +0000 (09:42 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 16 Oct 2010 09:42:52 +0000 (09:42 +0000)
source/blender/editors/mesh/editmesh_add.c

index e1a4b2b2fd449037e2a9105b0794a89cf4f2127c..f90f1b095e6c2255ab6972f2b1ed928ee381e8f3 100644 (file)
@@ -117,7 +117,7 @@ static int dupli_extrude_cursor(bContext *C, wmOperator *op, wmEvent *event)
 
        em_setup_viewcontext(C, &vc);
        
-       use_proj= ((vc.scene->toolsettings->snap_flag & (SCE_SNAP|SCE_SNAP_PROJECT))==(SCE_SNAP|SCE_SNAP_PROJECT)) &&   (vc.scene->toolsettings->snap_mode==SCE_SNAP_MODE_FACE);
+       use_proj= (vc.scene->toolsettings->snap_flag & SCE_SNAP) &&     (vc.scene->toolsettings->snap_mode==SCE_SNAP_MODE_FACE);
        
        invert_m4_m4(vc.obedit->imat, vc.obedit->obmat);