[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [61234] trunk/blender/release/scripts/ startup/bl_ui/space_sequencer.py: Fix [#37409] Missing Buttons in Edit Strip Sub-Menu for Sound Strips in the VSE

Bastien Montagne montagne29 at wanadoo.fr
Tue Nov 12 08:02:04 CET 2013


Revision: 61234
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61234
Author:   mont29
Date:     2013-11-12 07:02:04 +0000 (Tue, 12 Nov 2013)
Log Message:
-----------
Fix [#37409] Missing Buttons in Edit Strip Sub-Menu for Sound Strips in the VSE

Add back mute & lock buttons to audio strips (these should not have been removed, own fault).

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py	2013-11-12 02:28:26 UTC (rev 61233)
+++ trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py	2013-11-12 07:02:04 UTC (rev 61234)
@@ -416,6 +416,10 @@
             sub.prop(strip, "blend_alpha", text="Opacity", slider=True)
             row.prop(strip, "mute", toggle=True, icon='RESTRICT_VIEW_ON' if strip.mute else 'RESTRICT_VIEW_OFF', text="")
             row.prop(strip, "lock", toggle=True, icon='LOCKED' if strip.lock else 'UNLOCKED', text="")
+        else:
+            row = layout.row(align=True)
+            row.prop(strip, "mute", toggle=True, icon='RESTRICT_VIEW_ON' if strip.mute else 'RESTRICT_VIEW_OFF')
+            row.prop(strip, "lock", toggle=True, icon='LOCKED' if strip.lock else 'UNLOCKED')
 
         col = layout.column()
         sub = col.column()




More information about the Bf-blender-cvs mailing list