Sybren A. Stüvel
9b9f84b317
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
2020-05-25 09:43:01 +02:00
..
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2020-04-08 16:26:54 +10:00
2020-03-06 17:26:32 +01:00
2020-03-19 09:33:58 +01:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2020-03-19 09:33:58 +01:00
2020-04-05 13:53:32 +10:00
2020-03-06 17:26:32 +01:00
2019-04-17 06:21:24 +02:00
2019-09-14 08:12:53 +10:00
2019-04-17 06:21:24 +02:00
2019-04-29 22:06:26 +10:00
2020-03-19 09:33:58 +01:00
2019-04-17 06:21:24 +02:00
2020-03-19 09:33:58 +01:00
2019-04-17 06:21:24 +02:00
2020-04-03 19:27:46 +02:00
2019-04-17 06:21:24 +02:00
2020-05-25 09:43:01 +02:00
2020-03-06 17:26:32 +01:00
2019-10-21 02:47:07 +11:00
2019-10-21 02:47:07 +11:00
2020-03-19 09:33:58 +01:00
2019-02-18 08:22:12 +11:00
2020-04-07 15:32:09 +10:00
2020-04-07 15:32:09 +10:00
2020-03-19 09:33:58 +01:00
2019-06-26 12:44:22 +10:00
2020-05-18 14:36:02 +10:00
2019-04-17 06:21:24 +02:00
2019-11-20 16:25:28 -05:00
2019-08-28 13:20:05 +10:00
2020-04-07 23:23:17 +10:00
2019-11-20 16:25:28 -05:00
2020-03-19 09:33:58 +01:00
2019-04-17 06:21:24 +02:00
2020-04-06 15:26:27 +10:00
2020-04-06 15:26:27 +10:00
2020-02-08 01:02:18 +11:00
2019-04-17 06:21:24 +02:00
2020-04-07 17:43:27 +10:00
2020-04-07 17:43:27 +10:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-07-31 14:27:35 +02:00
2019-08-18 04:26:34 +10:00
2019-04-17 06:21:24 +02:00
2020-03-19 09:33:58 +01:00
2019-06-12 09:43:49 +10:00