Fix T53686: VSE Render crash when zooming timeline.
Epic fail from recent 'security' fixes (rBe04d7c49dca9). ;) To be backported to 2.79a!
This commit is contained in:
parent
ff54dbd8fa
commit
0bf54dd66b
Notes:
blender-bot
2023-02-14 06:37:09 +01:00
Referenced by issue #53686, VSE Render crash when zooming timeline
|
@ -1658,7 +1658,7 @@ static void shapekey_layers_to_keyblocks(DerivedMesh *dm, Mesh *me, int actshape
|
|||
cos = CustomData_get_layer_n(&dm->vertData, CD_SHAPEKEY, i);
|
||||
kb->totelem = dm->numVertData;
|
||||
|
||||
kb->data = kbcos = MEM_malloc_arrayN(kb->totelem, sizeof(float), "kbcos DerivedMesh.c");
|
||||
kb->data = kbcos = MEM_malloc_arrayN(kb->totelem, 3 * sizeof(float), "kbcos DerivedMesh.c");
|
||||
if (kb->uid == actshape_uid) {
|
||||
MVert *mvert = dm->getVertArray(dm);
|
||||
|
||||
|
|
Loading…
Reference in New Issue