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:
authorRichard Antalik <richardantalik@gmail.com>2019-09-30 02:14:00 +0300
committerRichard Antalik <richardantalik@gmail.com>2019-09-30 02:14:42 +0300
commitcdcb844d271f9d456c22d372f9349054140a94d7 (patch)
treebf794a4665a711422876bd9363d4f988124f503d /release
parentff10ff782bde3395447deab4df4895ce270d3679 (diff)
Fix T69684: Sound Strip "Pan" function is misleading
Gray-out pan property when sound mono property is unset. Reviewed By: billreynish Differential Revision: https://developer.blender.org/D5806
Diffstat (limited to 'release')
m---------release/scripts/addons_contrib0
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py5
2 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/addons_contrib b/release/scripts/addons_contrib
-Subproject 23b744fa47da73c0b6c5b41b02cfe0efa008ec5
+Subproject d9ed9d4d064c74c86e2767cd4be32d602a0ee31
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 397355f1f23..a942b8769cf 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -1571,10 +1571,13 @@ class SEQUENCER_PT_adjust_sound(SequencerButtonsPanel, Panel):
col.prop(strip, "volume", text="Volume")
col.prop(strip, "pitch")
+
+ col = layout.column()
col.prop(strip, "pan")
+ col.enabled = sound is not None and sound.use_mono
if sound is not None:
-
+ col = layout.column()
if st.waveform_display_type == 'DEFAULT_WAVEFORMS':
col.prop(strip, "show_waveform")
col.prop(sound, "use_mono")