[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23005] branches/blender2.5/blender/ release/ui/space_sequencer.py: Strip input is not used for sound strips in 2.5.
Joerg Mueller
nexyon at gmail.com
Fri Sep 4 23:21:12 CEST 2009
Revision: 23005
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23005
Author: nexyon
Date: 2009-09-04 23:21:12 +0200 (Fri, 04 Sep 2009)
Log Message:
-----------
Strip input is not used for sound strips in 2.5.
Modified Paths:
--------------
branches/blender2.5/blender/release/ui/space_sequencer.py
Modified: branches/blender2.5/blender/release/ui/space_sequencer.py
===================================================================
--- branches/blender2.5/blender/release/ui/space_sequencer.py 2009-09-04 21:02:43 UTC (rev 23004)
+++ branches/blender2.5/blender/release/ui/space_sequencer.py 2009-09-04 21:21:12 UTC (rev 23005)
@@ -416,7 +416,7 @@
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 @@
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.itemL(text="Trim Duration:")
- col.itemR(strip, "animation_start_offset", text="Start")
- col.itemR(strip, "animation_end_offset", text="End")
+ 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")
+
+ 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"
More information about the Bf-blender-cvs
mailing list