Actual fix for mango files crashes on load
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 6 Mar 2012 14:46:45 +0000 (14:46 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 6 Mar 2012 14:46:45 +0000 (14:46 +0000)
Was caused by recent code cleanup.

source/blender/blenkernel/intern/modifiers_bmesh.c

index b8e4a7ff78dee98118900dfd501e44edaa1534ef..496533cacd7aa828953b39a25c00f8aff4aa9a2a 100644 (file)
@@ -93,7 +93,7 @@ void DM_to_bmesh_ex(DerivedMesh *dm, BMesh *bm)
        MEM_freeN(medge);
 
        /*do faces*/
-       /* mpoly = mp = dm->getPolyArray(dm); */ /* UNUSED */
+       mp = dm->getPolyArray(dm);
        mloop = dm->getLoopArray(dm);
        for (i = 0; i < dm->numPolyData; i++, mp++) {
                BMLoop *l;