Fix crash moving grease pencil frames

This commit is contained in:
Campbell Barton 2018-05-09 14:09:05 +02:00
parent 5173861766
commit e65a2cb52c
Notes: blender-bot 2023-02-14 05:53:41 +01:00
Referenced by issue #55013, Segfault in transform_conversions.c:3918: - member access within null pointer of type 'struct tGPFtransdata'
1 changed files with 1 additions and 1 deletions

View File

@ -3908,7 +3908,7 @@ typedef struct tGPFtransdata {
void flushTransIntFrameActionData(TransInfo *t)
{
TransDataContainer *tc = TRANS_DATA_CONTAINER_FIRST_SINGLE(t);
tGPFtransdata *tfd = t->custom.type.data;
tGPFtransdata *tfd = tc->custom.type.data;
/* flush data! */
for (int i = 0; i < tc->data_len; i++, tfd++) {