diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-05-25 10:43:01 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-05-25 10:43:01 +0300 |
commit | 9b9f84b317feff9454f124330bd3aa774493c003 (patch) | |
tree | a971185cde0e0affebd2c24e083a99e9865044b8 /source/blender/depsgraph | |
parent | c15bb3b55faed1a8e5c9913553837539301fbe2e (diff) |
Fix crash when converting BMesh to Mesh with shape keys
The `BM_mesh_bm_to_me()` function copies shape keys from the BMesh to
the Mesh. However, it tries to copy the same number of shape keys as are
defined on the target mesh. Since the target mesh does not necessarily
have the same number of shape keys as the BMesh, this would crash if the
target Mesh has more.
Found while performing some tests for {D7785}.
Differential Revision: https://developer.blender.org/D7818
Reviewed by: brecht
Diffstat (limited to 'source/blender/depsgraph')
0 files changed, 0 insertions, 0 deletions