Fix #28347: VBO's highlights wrong faces when Mirror modifier is in use
[blender-staging.git] / source / blender / blenkernel / BKE_DerivedMesh.h
index 46b533f33fdc4826fe82da8242e2a85e82bb063a..6e17b056685e9d5cc789040f90f0204862b4a64b 100644 (file)
@@ -283,7 +283,8 @@ struct DerivedMesh {
                                                        int (*setDrawOptions)(void *userData, int index,
                                                                                                  int *drawSmooth_r),
                                                        void *userData, int useColors,
-                                                       int (*setMaterial)(int, void *attribs));
+                                                       int (*setMaterial)(int, void *attribs),
+                                                       int (*compareDrawOptions)(void *userData, int cur_index, int next_index));
 
        /* Draw mapped faces using MTFace 
         *  o Drawing options too complicated to enumerate, look at code.