13
0

forgot else in selected-tracks check.

This commit is contained in:
Nikolaus Gullotta 2018-06-01 11:25:46 -05:00
parent 29aba34d1c
commit 820cbc8c4f

View File

@ -32,17 +32,18 @@ function factory () return function ()
end
end
end
end
for route in Session:get_routes():iter() do
if not(route:to_track():isnil()) then
if rv['rec-tracks'] then
if route:rec_enable_control():get_value() == 1.0 then
else
for route in Session:get_routes():iter() do
if not(route:to_track():isnil()) then
if rv['rec-tracks'] then
if route:rec_enable_control():get_value() == 1.0 then
route:to_track():set_meter_point(meter_point, false)
end
else
route:to_track():set_meter_point(meter_point, false)
end
else
route:to_track():set_meter_point(meter_point, false)
end
end
end
end end