diff options
author | Geoffrey Bantle <hairbat@yahoo.com> | 2011-06-24 02:33:42 +0400 |
---|---|---|
committer | Geoffrey Bantle <hairbat@yahoo.com> | 2011-06-24 02:33:42 +0400 |
commit | f47839181ebafca3deffac26a3fdd48c014ac91f (patch) | |
tree | fbba3ef39c2b432b325c97074ac23e0da411bbbb /source/blender/blenkernel | |
parent | 352c0ba387d46b65347d0c81b3025b844dcbcc83 (diff) |
Fix for a crash:
----------------------------------------------
Another fix from howardt in IRC.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/modifiers_bmesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/modifiers_bmesh.c b/source/blender/blenkernel/intern/modifiers_bmesh.c index 6454019be57..0ed9ddd063c 100644 --- a/source/blender/blenkernel/intern/modifiers_bmesh.c +++ b/source/blender/blenkernel/intern/modifiers_bmesh.c @@ -173,7 +173,7 @@ BMEditMesh *CDDM_To_BMesh(Object *ob, DerivedMesh *dm, BMEditMesh *existing) /*do faces*/ mpoly = mp = dm->getPolyArray(dm); mloop = dm->getLoopArray(dm); - for (i=0; i<dm->numFaceData; i++, mp++) { + for (i=0; i<dm->numPolyData; i++, mp++) { BMLoop *l; BLI_array_empty(verts); |