Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-01-04 13:08:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-01-04 13:08:14 +0300
commit982904fcc927beb0122b1119448716958bcf12c1 (patch)
tree85436846d990637d25eb1dfcaa0bdad0b5c6a5bb /release
parent598180f98dfbf47bf84def4b79c5693c8e227769 (diff)
Fix T47109: Expose sound data-block selector
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py9
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")