svn merge -r39286:39385 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / blender / modifiers / intern / MOD_bevel.c
index 277f404f64ded552761012512771183d86b7135d..9da150f2f600af88ef6285d883b7958b5458d23d 100644 (file)
@@ -91,6 +91,10 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *UNUSED(ob),
                                                int UNUSED(useRenderParams),
                                                int UNUSED(isFinalCalc))
 {
+#if 1 /*BMESH_TODO*/
+       (void)md;
+       return CDDM_copy(derivedData, 0);
+#else
        DerivedMesh *result;
        BME_Mesh *bm;
 
@@ -113,12 +117,11 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *UNUSED(ob),
        BME_free_mesh(bm);
 
        CDDM_calc_normals(result);
-
-       return result;
+#endif
 }
 
 static DerivedMesh *applyModifierEM(ModifierData *md, Object *ob,
-                                               EditMesh *UNUSED(editData),
+                                               struct BMEditMesh *UNUSED(editData),
                                                DerivedMesh *derivedData)
 {
        return applyModifier(md, ob, derivedData, 0, 1);