- added DerivedMesh.drawUVEdges function & implementations
[blender.git] / source / blender / blenkernel / BKE_DerivedMesh.h
index f221391d6f04fd3cf326c29f8745f55e26f8861c..99d438743fa5df7445ad52791a34f14bde4c5e02 100644 (file)
@@ -127,15 +127,18 @@ struct DerivedMesh {
                        /* Draw all vertices as bgl points (no options) */
        void (*drawVerts)(DerivedMesh *dm);
 
+                       /* Draw edges in the UV mesh (if exists) */
+       void (*drawUVEdges)(DerivedMesh *dm);
+
                        /* Draw all edges as lines (no options) 
                         *
                         * Also called for *final* editmode DerivedMeshes
                         */
        void (*drawEdges)(DerivedMesh *dm, int drawLooseEdges);
-                       
-                       /* Draw all edges without faces as lines (no options) */
-       void (*drawLooseEdges)(DerivedMesh *dm);
-                       
+       
+                       /* Draw all edges for which (med->flag&mask)==value */
+       void (*drawEdgesFlag)(DerivedMesh *dm, unsigned int mask, unsigned int value);
+
                        /* Draw all faces
                         *  o Set face normal or vertex normal based on inherited face flag
                         *  o Use inherited face material index to call setMaterial