diff options
author | YimingWu <xp8110@outlook.com> | 2019-11-28 09:50:40 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2019-11-28 09:50:40 +0300 |
commit | 6967d60c4b8e9458860eab92fe68cfc9c271ea89 (patch) | |
tree | cf5d5dfef55d0528aec4d67ad909d8804bb4cb01 /source/blender/python | |
parent | 1c2b8641555ce8e9ae23546cbfce00286684a450 (diff) | |
parent | 6288dbffb6c1f98a04f7c25ed96caa963e5c8819 (diff) |
Merge remote-tracking branch 'origin/master' into temp-lanpr-review
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index af595de2ee4..b601a35f7f2 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -1091,7 +1091,9 @@ static PyObject *bpy_bmesh_to_mesh(BPy_BMesh *self, PyObject *args) bm = self->bm; struct Main *bmain = NULL; - struct BMeshToMeshParams params = {0}; + struct BMeshToMeshParams params = { + .update_shapekey_indices = true, + }; if (me->id.tag & LIB_TAG_NO_MAIN) { /* Mesh might be coming from a self-contained source like object.to_mesh(). No need to remap * anything in this case. */ |