fix [#28160] Pressing Y on an image sequence to seperate the images takes them out...
authorCampbell Barton <ideasman42@gmail.com>
Fri, 5 Aug 2011 06:26:54 +0000 (06:26 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 5 Aug 2011 06:26:54 +0000 (06:26 +0000)
dont show a popup anymore, was silly because you had to change the value for before anything was done, can use f6 redo popup instead, sequencer should eventually have a view3d operator redo panel.

source/blender/editors/space_sequencer/sequencer_edit.c

index b7a7b6b5412e9c8b3bff5598acd9acbb0a5c137e..6a69d32d307fb83b11116a23eebaa7876c848de3 100644 (file)
@@ -1785,7 +1785,7 @@ static int sequencer_separate_images_exec(bContext *C, wmOperator *op)
                                se = give_stripelem(seq, cfra);
 
                                seq_new= seq_dupli_recursive(scene, scene, seq, SEQ_DUPE_UNIQUE_NAME);
-                               BLI_addtail(&ed->seqbase, seq_new);
+                               BLI_addtail(ed->seqbasep, seq_new);
 
                                seq_new->start= start_ofs;
                                seq_new->type= SEQ_IMAGE;
@@ -1839,7 +1839,6 @@ void SEQUENCER_OT_images_separate(wmOperatorType *ot)
        ot->description="On image sequences strips, it return a strip for each image";
        
        /* api callbacks */
-       ot->invoke= WM_operator_props_popup;
        ot->exec= sequencer_separate_images_exec;
        ot->poll= sequencer_edit_poll;