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
Notes: blender-bot 2023-02-14 10:04:51 +01:00
Referenced by issue #41851, Sound - no functions for first row of strip input panel
1 changed files with 3 additions and 2 deletions

View File

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