diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-04 13:08:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-04 13:08:14 +0300 |
commit | 982904fcc927beb0122b1119448716958bcf12c1 (patch) | |
tree | 85436846d990637d25eb1dfcaa0bdad0b5c6a5bb /release/scripts/startup/bl_ui/space_sequencer.py | |
parent | 598180f98dfbf47bf84def4b79c5693c8e227769 (diff) |
Fix T47109: Expose sound data-block selector
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 34a0bacf13b..ab993d1c640 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -783,13 +783,10 @@ class SEQUENCER_PT_sound(SequencerButtonsPanel, Panel): strip = act_strip(context) sound = strip.sound - # 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.prop(strip, "filepath", text="") - + layout.template_ID(strip, "sound", open="sound.open") if sound is not None: + layout.prop(sound, "filepath", text="") + row = layout.row() if sound.packed_file: row.operator("sound.unpack", icon='PACKAGE', text="Unpack") |