forked from bartvdbraak/blender
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
@ -716,9 +716,10 @@ class SEQUENCER_PT_sound(SequencerButtonsPanel, Panel):
|
|||||||
strip = act_strip(context)
|
strip = act_strip(context)
|
||||||
sound = strip.sound
|
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="")
|
layout.prop(strip, "filepath", text="")
|
||||||
|
|
||||||
if sound is not None:
|
if sound is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user