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.
This commit is contained in:
Bastien Montagne 2014-09-16 19:09:32 +02:00
parent c793042577
commit f0f398dcf3

@ -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: