diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-03 09:40:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-03 09:40:48 +0400 |
commit | 671b871e7f5d3e031017aec4d976e8e3eaa9e50e (patch) | |
tree | f0fc858233ddb20bd3186a80d269324c32c9aa2f /source/blender | |
parent | 48aa356b7b071307aff2e8835431d0e7474aee1d (diff) |
fix [#33392] In-dev freeway generation addon crashes on recent builds.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_mesh.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mesh.c b/source/blender/bmesh/intern/bmesh_mesh.c index d304e18bfa5..590edc45d07 100644 --- a/source/blender/bmesh/intern/bmesh_mesh.c +++ b/source/blender/bmesh/intern/bmesh_mesh.c @@ -206,6 +206,11 @@ void BM_mesh_clear(BMesh *bm) bm->stackdepth = 1; bm->totflags = 1; + + CustomData_reset(&bm->vdata); + CustomData_reset(&bm->edata); + CustomData_reset(&bm->ldata); + CustomData_reset(&bm->pdata); } /** |