Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-11 23:58:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-11 23:58:56 +0400
commitb330abc290622b32419ba084b8bc7e6a8ea9aaa2 (patch)
tree62c0590af336f1028fd05ffd33c28b7dec0f0c3c /source/blender/python/bmesh
parent42b3463030b07ba3a87574c173e759e3bb15353b (diff)
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.
Diffstat (limited to 'source/blender/python/bmesh')
-rw-r--r--source/blender/python/bmesh/bmesh_py_api.c2
1 files changed, 1 insertions, 1 deletions
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);
}