Proportional edit for object mode.
[blender.git] / source / blender / blenkernel / intern / multires.c
index ecffbb3d15fd1a6613a53c6244ed94e468fc2a89..e1a51a05ca408b9ab6a7d9ff805b01d5decf6843 100644 (file)
@@ -101,7 +101,7 @@ void multiresModifier_join(Object *ob)
        /* First find the highest level of subdivision */
        base = FIRSTBASE;
        while(base) {
-               if(TESTBASELIB_BGMODE(v3d, base) && base->object->type==OB_MESH) {
+               if(TESTBASELIB_BGMODE(v3d, scene, base) && base->object->type==OB_MESH) {
                        ModifierData *md;
                        for(md = base->object->modifiers.first; md; md = md->next) {
                                if(md->type == eModifierType_Multires) {
@@ -124,7 +124,7 @@ void multiresModifier_join(Object *ob)
        /* Subdivide all the displacements to the highest level */
        base = FIRSTBASE;
        while(base) {
-               if(TESTBASELIB_BGMODE(v3d, base) && base->object->type==OB_MESH) {
+               if(TESTBASELIB_BGMODE(v3d, scene, base) && base->object->type==OB_MESH) {
                        ModifierData *md = NULL;
                        MultiresModifierData *mmd = NULL;