Fix crash moving grease pencil frames
This commit is contained in:
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'
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue