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:
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
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue