diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-02-18 21:05:09 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-02-18 21:05:09 +0300 |
commit | 782bed19844391a40d7fe76cd2c35fabf5bd0bec (patch) | |
tree | 10f3adc56f5bd29f63d1a2c36b1af5f5f1e36151 /source/blender | |
parent | f3bf87e5887c6fedb6d8f995eb636695e3990353 (diff) | |
parent | c297bef9aff5d6eeea26ddd869f4dc03a34d3457 (diff) |
Merge branch 'blender-v2.92-release'
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c index b8ca2f17fd2..089886a1c25 100644 --- a/source/blender/blenloader/intern/versioning_290.c +++ b/source/blender/blenloader/intern/versioning_290.c @@ -124,6 +124,13 @@ static void seq_convert_transform_crop(const Scene *scene, Sequence *seq, const eSpaceSeq_Proxy_RenderSize render_size) { + if (seq->strip->transform == NULL) { + seq->strip->transform = MEM_callocN(sizeof(struct StripTransform), "StripTransform"); + } + if (seq->strip->crop == NULL) { + seq->strip->crop = MEM_callocN(sizeof(struct StripCrop), "StripCrop"); + } + StripCrop *c = seq->strip->crop; StripTransform *t = seq->strip->transform; int old_image_center_x = scene->r.xsch / 2; |