New Operators, duplicate is shift+d, Add operators are accessible from the header.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 22 Jan 2009 15:52:04 +0000 (15:52 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 22 Jan 2009 15:52:04 +0000 (15:52 +0000)
commit3e6a1bc60b5650d4b33b7187f06c87766e4ea536
tree147234f69dc0899fb48305f1198b62cd1b05ac41
parentd5f69e85522fceb4847938ac815fcefe3959727b
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_add.c
source/blender/editors/space_sequencer/sequencer_edit.c
source/blender/editors/space_sequencer/sequencer_header.c
source/blender/editors/space_sequencer/sequencer_intern.h
source/blender/editors/space_sequencer/sequencer_ops.c
source/blender/editors/space_sequencer/sequencer_select.c
source/blender/editors/transform/transform_ops.c
source/blender/makesrna/intern/rna_define.c