Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r--source/blender/blenloader/intern/readfile.c31
1 files changed, 8 insertions, 23 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index d08c9f23db1..b2536935663 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -6782,29 +6782,14 @@ static void direct_link_scene(FileData *fd, Scene *sce)
else {
seq->strip->stripdata = NULL;
}
- if (seq->flag & SEQ_USE_CROP) {
- seq->strip->crop = newdataadr(fd, seq->strip->crop);
- }
- else {
- seq->strip->crop = NULL;
- }
- if (seq->flag & SEQ_USE_TRANSFORM) {
- seq->strip->transform = newdataadr(fd, seq->strip->transform);
- }
- else {
- seq->strip->transform = NULL;
- }
- if (seq->flag & SEQ_USE_PROXY) {
- seq->strip->proxy = newdataadr(fd, seq->strip->proxy);
- if (seq->strip->proxy) {
- seq->strip->proxy->anim = NULL;
- }
- else {
- BKE_sequencer_proxy_set(seq, true);
- }
- }
- else {
- seq->strip->proxy = NULL;
+ seq->strip->crop = newdataadr(fd, seq->strip->crop);
+ seq->strip->transform = newdataadr(fd, seq->strip->transform);
+ seq->strip->proxy = newdataadr(fd, seq->strip->proxy);
+ if (seq->strip->proxy) {
+ seq->strip->proxy->anim = NULL;
+ }
+ else if (seq->flag & SEQ_USE_PROXY) {
+ BKE_sequencer_proxy_set(seq, true);
}
/* need to load color balance to it could be converted to modifier */