[Bf-blender-cvs] [f0f398d] master: Fix T41851: Useless ID selector UI element for sequencer's Sound strips

Bastien Montagne noreply at git.blender.org
Tue Sep 16 19:15:23 CEST 2014


Commit: f0f398dcf3101079f4965185eb82c23c54fc6923
Author: Bastien Montagne
Date:   Tue Sep 16 19:09:32 2014 +0200
Branches: master
https://developer.blender.org/rBf0f398dcf3101079f4965185eb82c23c54fc6923

Fix T41851: Useless ID selector UI element for sequencer's Sound strips

Currently, this pointer prop is not editable, and making it so does not seem
to be trivial (sound strip seems to use the filepath path, not the soundID pointer?),
so just hide the matching UI item.

===================================================================

M	release/scripts/startup/bl_ui/space_sequencer.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index c9f0b2b..bbb1e41 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -716,9 +716,10 @@ class SEQUENCER_PT_sound(SequencerButtonsPanel, Panel):
         strip = act_strip(context)
         sound = strip.sound
 
-        layout.template_ID(strip, "sound", open="sound.open")
+        # TODO: add support to handle SOUND datablock in sequencer soundstrips... For now, hide this useless thing!
+        # layout.template_ID(strip, "sound", open="sound.open")
 
-        layout.separator()
+        # layout.separator()
         layout.prop(strip, "filepath", text="")
 
         if sound is not None:




More information about the Bf-blender-cvs mailing list