Sculpt:
[blender-staging.git] / source / blender / blenkernel / intern / DerivedMesh.c
index 209e4610c6a111758bbf8cca8d09aceb6151d82f..c2921a17befb7ab239f14bb4088e9ea1b16bef40 100644 (file)
@@ -1555,7 +1555,7 @@ DerivedMesh *mesh_create_derived_for_modifier(Scene *scene, Object *ob, Modifier
        md->scene= scene;
        
        if (!(md->mode&eModifierMode_Realtime)) return NULL;
-       if (mti->isDisabled && mti->isDisabled(md)) return NULL;
+       if (mti->isDisabled && mti->isDisabled(md, 0)) return NULL;
 
        if (mti->type==eModifierTypeType_OnlyDeform) {
                int numVerts;
@@ -1906,7 +1906,7 @@ static void mesh_calc_modifiers(Scene *scene, Object *ob, float (*inputVertexCos
 
                                mask &= ~CD_MASK_ORCO;
                                DM_set_only_copy(orcodm, mask);
-                               ndm = mti->applyModifier(md, ob, orcodm, useRenderParams, !inputVertexCos);
+                               ndm = mti->applyModifier(md, ob, orcodm, useRenderParams, 0);
 
                                if(ndm) {
                                        /* if the modifier returned a new dm, release the old one */