From 3e6a1bc60b5650d4b33b7187f06c87766e4ea536 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 22 Jan 2009 15:52:04 +0000 Subject: New Operators, duplicate is shift+d, Add operators are accessible from the header. SEQUENCER_OT_add_duplicate(mode=1) SEQUENCER_OT_add_image_strip(name='', start_frame=0, channel=1, filename='', replace_sel=True) SEQUENCER_OT_add_movie_strip(name='', start_frame=0, channel=1, filename='', replace_sel=True) SEQUENCER_OT_add_sound_strip(name='', start_frame=0, channel=1, filename='', replace_sel=True) Some of these use the file selector, Note that sound isn't working yet because editsound.c functions are not yet in 2.5 and Operators dont have a way to recieve an array of strings so SEQUENCER_OT_add_image_strip only adds 1 image at the moment. --- source/blender/editors/space_sequencer/sequencer_intern.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_sequencer/sequencer_intern.h') diff --git a/source/blender/editors/space_sequencer/sequencer_intern.h b/source/blender/editors/space_sequencer/sequencer_intern.h index 199ae016f50..c14943e6183 100644 --- a/source/blender/editors/space_sequencer/sequencer_intern.h +++ b/source/blender/editors/space_sequencer/sequencer_intern.h @@ -88,8 +88,9 @@ void SEQUENCER_OT_select_invert(struct wmOperatorType *ot); /* sequencer_select.c */ void SEQUENCER_OT_add_color_strip(struct wmOperatorType *ot); void SEQUENCER_OT_add_scene_strip(struct wmOperatorType *ot); - - +void SEQUENCER_OT_add_movie_strip(struct wmOperatorType *ot); +void SEQUENCER_OT_add_sound_strip(struct wmOperatorType *ot); +void SEQUENCER_OT_add_image_strip(struct wmOperatorType *ot); /* RNA enums, just to be more readable */ enum { -- cgit v1.2.3