- made make_edge mark edges with LOOSEEDGE appropriately
[blender.git] / source / blender / src / drawobject.c
index 7e72f6f737f51d741709ae357cb0df4d05011fff..90898e96f254d2625c8232f5e97f35f6ed6914b5 100644 (file)
@@ -1790,7 +1790,7 @@ static void draw_mesh_fancy(Object *ob, DerivedMesh *baseDM, DerivedMesh *dm, in
                if (G.f & (G_VERTEXPAINT|G_WEIGHTPAINT|G_TEXTUREPAINT)) {
                        baseDM->drawEdges(baseDM, dt==OB_WIRE);
                } else {
-                       dm->drawEdges(dm, dt==OB_WIRE);
+                       dm->drawEdges(dm, (dt==OB_WIRE || me->totface==0));
                }
 
                if (dt!=OB_WIRE) {