Blender Git Loki

Git Commits -> Revision 9b9f84b

Revision 9b9f84b by Sybren A. Stvel (master)
May 25, 2020, 07:43 (GMT)
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:

Reviewed by: brecht

Commit Details:

Full Hash: 9b9f84b317feff9454f124330bd3aa774493c003
Parent Commit: c15bb3b
Lines Changed: +4, -0

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021