[#21121] Limit to visible don't works well in Face mode
authorCampbell Barton <ideasman42@gmail.com>
Fri, 12 Feb 2010 16:48:04 +0000 (16:48 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 12 Feb 2010 16:48:04 +0000 (16:48 +0000)
dont draw face dots when drawing backbuffer

source/blender/editors/space_view3d/drawobject.c

index 460d79556e31eff69a15345047da3a215f3b4f43..732f1c17988e570834b42b3462cd1dd311187788 100644 (file)
 #define CHECK_OB_DRAWFACEDOT(sce, vd, dt) \
 (      (sce->toolsettings->selectmode & SCE_SELECT_FACE) && \
        (vd->drawtype<=OB_SOLID) && \
+       (G.f & G_BACKBUFSEL)==0 && \
        (((vd->drawtype==OB_SOLID) && (dt>=OB_SOLID) && (vd->flag2 & V3D_SOLID_TEX) && (vd->flag & V3D_ZBUF_SELECT)) == 0) \
        )