diff options
author | Joerg Mueller <nexyon@gmail.com> | 2009-09-05 01:21:12 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2009-09-05 01:21:12 +0400 |
commit | a49020b2414005cc7aef06749ff1f9c1c7e75a3f (patch) | |
tree | 22d5069f52c186e8ebf9015540381ca3dcd8fca9 /release | |
parent | 5dd9f7635afeda66ca4475288b1eb7ad621486f4 (diff) |
Strip input is not used for sound strips in 2.5.
Diffstat (limited to 'release')
-rw-r--r-- | release/ui/space_sequencer.py | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/release/ui/space_sequencer.py b/release/ui/space_sequencer.py index bef48f5ebdb..daae4a83ec4 100644 --- a/release/ui/space_sequencer.py +++ b/release/ui/space_sequencer.py @@ -416,7 +416,7 @@ class SEQUENCER_PT_input(SequencerButtonsPanel): if not strip: return False - return strip.type in ('MOVIE', 'IMAGE', 'SOUND') + return strip.type in ('MOVIE', 'IMAGE') def draw(self, context): layout = self.layout @@ -440,27 +440,26 @@ class SEQUENCER_PT_input(SequencerButtonsPanel): col = split.column() col.itemR(elem, "filename", text="") # strip.elements[0] could be a fallback - if strip.type != 'SOUND': - layout.itemR(strip, "use_translation", text="Image Offset:") - if strip.transform: - col = layout.column(align=True) - col.active = strip.use_translation - col.itemR(strip.transform, "offset_x", text="X") - col.itemR(strip.transform, "offset_y", text="Y") - - layout.itemR(strip, "use_crop", text="Image Crop:") - if strip.crop: - col = layout.column(align=True) - col.active = strip.use_crop - col.itemR(strip.crop, "top") - col.itemR(strip.crop, "left") - col.itemR(strip.crop, "bottom") - col.itemR(strip.crop, "right") - + layout.itemR(strip, "use_translation", text="Image Offset:") + if strip.transform: + col = layout.column(align=True) + col.active = strip.use_translation + col.itemR(strip.transform, "offset_x", text="X") + col.itemR(strip.transform, "offset_y", text="Y") + + layout.itemR(strip, "use_crop", text="Image Crop:") + if strip.crop: col = layout.column(align=True) - col.itemL(text="Trim Duration:") - col.itemR(strip, "animation_start_offset", text="Start") - col.itemR(strip, "animation_end_offset", text="End") + col.active = strip.use_crop + col.itemR(strip.crop, "top") + col.itemR(strip.crop, "left") + col.itemR(strip.crop, "bottom") + col.itemR(strip.crop, "right") + + col = layout.column(align=True) + col.itemL(text="Trim Duration:") + col.itemR(strip, "animation_start_offset", text="Start") + col.itemR(strip, "animation_end_offset", text="End") class SEQUENCER_PT_sound(SequencerButtonsPanel): __label__ = "Sound" |