diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-09-16 21:09:32 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-09-16 21:15:11 +0400 |
commit | f0f398dcf3101079f4965185eb82c23c54fc6923 (patch) | |
tree | d7c0390436ac2f18a3a51ee75da047d702b65f7d | |
parent | c793042577a036f7668afc5bf31f42e4ad97dad1 (diff) |
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.
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index c9f0b2bca68..bbb1e41beb1 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: |