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:
authorCampbell Barton <ideasman42@gmail.com>2009-01-20 00:42:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-01-20 00:42:18 +0300
commit999d9d146ef26478bbd0f44d7cfb6b03fc519b51 (patch)
treecd15ff0ef98aa8c093307bf07dba7155d4316689 /source/blender/blenloader
parentc3434c8d6154e39b37f7b5f3298b340958c926c0 (diff)
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading. - removed flag SEQ_ACTIVE - Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 13e7bf91c73..94db9c9d192 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3705,6 +3705,11 @@ static void lib_link_scene(FileData *fd, Main *main)
MEM_freeN(base);
}
}
+
+ if (sce->ed) {
+ Editing *ed= sce->ed;
+ ed->act_seq= NULL; // ed->act_seq= newlibadr(fd, ed->act_seq); // FIXME
+ }
SEQ_BEGIN(sce->ed, seq) {
if(seq->ipo) seq->ipo= newlibadr_us(fd, sce->id.lib, seq->ipo);
@@ -3781,6 +3786,7 @@ static void direct_link_scene(FileData *fd, Scene *sce)
ListBase *old_seqbasep= &((Editing *)sce->ed)->seqbase;
ed= sce->ed= newdataadr(fd, sce->ed);
+ ed->act_seq= NULL; // ed->act_seq= newdataadr(fd, ed->act_seq); // FIXME
/* recursive link sequences, lb will be correctly initialized */
link_recurs_seq(fd, &ed->seqbase);