From b330abc290622b32419ba084b8bc7e6a8ea9aaa2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 11 Mar 2012 19:58:56 +0000 Subject: remove Object member from BMesh struct - was only used for undo and BMEditMesh already stores an object pointer. also fix for own mistake with mesh conversion refactor, shape key index was off by 1 when switching editmode. --- source/blender/python/bmesh/bmesh_py_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/bmesh') diff --git a/source/blender/python/bmesh/bmesh_py_api.c b/source/blender/python/bmesh/bmesh_py_api.c index 1601034542b..d3dcc979015 100644 --- a/source/blender/python/bmesh/bmesh_py_api.c +++ b/source/blender/python/bmesh/bmesh_py_api.c @@ -59,7 +59,7 @@ static PyObject *bpy_bm_new(PyObject *UNUSED(self)) { BMesh *bm; - bm = BM_mesh_create(NULL, &bm_mesh_allocsize_default); + bm = BM_mesh_create(&bm_mesh_allocsize_default); return BPy_BMesh_CreatePyObject(bm, BPY_BMFLAG_NOP); } -- cgit v1.2.3