Fix #28347: VBO's highlights wrong faces when Mirror modifier is in use
[blender-staging.git] / source / blender / editors / space_view3d / drawmesh.c
index 71c8548324484ed04a502379ec119c6a0e86902c..6e02ecbd5a866fed660736117a8949ce4e32fc75 100644 (file)
@@ -607,7 +607,7 @@ void draw_mesh_textured(Scene *scene, View3D *v3d, RegionView3D *rv3d, Object *o
        }
        else if(faceselect) {
                if(ob->mode & OB_MODE_WEIGHT_PAINT)
-                       dm->drawMappedFaces(dm, wpaint__setSolidDrawOptions, me, 1, GPU_enable_material);
+                       dm->drawMappedFaces(dm, wpaint__setSolidDrawOptions, me, 1, GPU_enable_material, NULL);
                else
                        dm->drawMappedFacesTex(dm, me->mface ? draw_tface_mapped__set_draw : NULL, me);
        }