Fix T50287: Blender crashes when open a blend that contains an alembic

file.

Missed in rB62a2ed97b.
This commit is contained in:
Kévin Dietrich 2017-01-26 06:16:33 +01:00
parent 64f5afdb89
commit b91edd61d0
Notes: blender-bot 2023-02-14 08:38:14 +01:00
Referenced by issue #50287, Blender crashes when open a blend that contains an alembic file
1 changed files with 5 additions and 0 deletions

View File

@ -3244,6 +3244,11 @@ static void direct_link_constraints(FileData *fd, ListBase *lb)
con->flag |= CONSTRAINT_SPACEONCE;
break;
}
case CONSTRAINT_TYPE_TRANSFORM_CACHE:
{
bTransformCacheConstraint *data = con->data;
data->reader = NULL;
}
}
}
}