diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-19 09:46:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-19 09:46:42 +0300 |
commit | 264691e5630fcd11516272c98bcdf2a2c980dfa3 (patch) | |
tree | dd4e72696dc2c9f4ff478339ccca8cf714eb1e03 /source/blender/python/bmesh | |
parent | 34e76c7162de721e73262efe138ac28f74936eec (diff) | |
parent | 860939ccc2c11f0503588d35e2b23326997c9768 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/python/bmesh')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index 629c3a3c7a3..ec787768a57 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -902,7 +902,11 @@ static PyObject *bpy_bmesh_to_mesh(BPy_BMesh *self, PyObject *args) bm = self->bm; - BM_mesh_bm_to_me(bm, me, (&(struct BMeshToMeshParams){0})); + BM_mesh_bm_to_me( + bm, me, + (&(struct BMeshToMeshParams){ + .calc_object_remap = true, + })); /* we could have the user do this but if they forget blender can easy crash * since the references arrays for the objects derived meshes are now invalid */ |