summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNikolaus Gullotta <nikolaus.gullotta@gmail.com>2018-08-15 10:43:06 -0500
committerNikolaus Gullotta <nikolaus.gullotta@gmail.com>2018-08-15 10:43:06 -0500
commit23c87e84637530c6bcdab4c794caf2eb1a02e540 (patch)
treed5e0375cb5f53f8bf365a91787c203297ef6e1db /scripts
parent6987f00db409c6e8b565fc9f78868614babf6769 (diff)
added a check for master, due to substituting pan control values for non master() routes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mixer_settings_recall.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mixer_settings_recall.lua b/scripts/mixer_settings_recall.lua
index d560a62b3f..21263411a8 100644
--- a/scripts/mixer_settings_recall.lua
+++ b/scripts/mixer_settings_recall.lua
@@ -221,7 +221,7 @@ function factory () return function ()
if soloed then rt:solo_control():set_value(1, 1) else rt:solo_control():set_value(0, 1) end
rt:gain_control():set_value(gc, 1)
rt:trim_control():set_value(tc, 1)
- if pc ~= false then rt:pan_azimuth_control():set_value(pc, 1) end
+ if pc ~= false and not(r:is_master()) then rt:pan_azimuth_control():set_value(pc, 1) end
end
if plugin then