fix bug [#30426] crash in bmesh python api.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 2 Mar 2012 18:23:08 +0000 (18:23 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 2 Mar 2012 18:23:08 +0000 (18:23 +0000)
commite9c935caa0b58d31cad19ca237a55fac8a2c6410
tree09762f067aaa42cc908b3fc38ca398ac9f5538eb
parentcc8e2d12a72fafa8758a8d46091afab23a47c271
fix bug [#30426] crash in bmesh python api.

if blender freed the BMesh before python was finished (on exit editmode for eg), python would attempt to access the bmesh to clear python pointers in it.
source/blender/bmesh/intern/bmesh_mesh.c
source/blender/python/bmesh/bmesh_py_types.c