== Sequencer ==

Made Multicam-Editing really work:
* added a panel within N-keys, so that one can start/stop playback
  and cut between cameras directly from the panel
* made "active_strip" RNA editable, to make that work correctly
  (is usefull anyways :) )
This commit is contained in:
Peter Schlaile
2010-05-02 17:36:38 +00:00
parent d750c07d67
commit 31cfad9fda
3 changed files with 58 additions and 3 deletions

View File

@@ -19,7 +19,6 @@
# <pep8 compliant>
import bpy
def act_strip(context):
try:
return context.scene.sequence_editor.active_strip
@@ -451,6 +450,19 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel):
elif strip.type == "MULTICAM":
layout.prop(strip, "multicam_source")
row = layout.row(align=True)
sub = row.row()
sub.scale_x = 2.0
if not context.screen.animation_playing:
sub.operator("screen.animation_play", text="", icon='PLAY')
else:
sub.operator("screen.animation_play", text="", icon='PAUSE')
row.label("Cut To")
for i in range(1, strip.channel):
row.operator("sequencer.cut_multicam", text=str(i)).camera = i
col = layout.column(align=True)
if strip.type == 'SPEED':
col.prop(strip, "speed_fader", text="Speed fader")