Merge with trunk r39928
[blender-staging.git] / source / blender / editors / space_view3d / drawmesh.c
index 3cc11df8a40b9d8449b7a5944ed20570815059e5..9acdd8d5be1c88dcbc78a30d6f1d09002a81fa08 100644 (file)
@@ -612,7 +612,7 @@ void draw_mesh_textured(Scene *scene, View3D *v3d, RegionView3D *rv3d, Object *o
        }
        else if(draw_flags & DRAW_IS_PAINT_SEL) {
                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);
        }