From 7633005a2294456d013ea0891e8337d257b8a1bd Mon Sep 17 00:00:00 2001 From: Len Ovens Date: Thu, 17 Mar 2022 13:50:52 -0700 Subject: [PATCH] Fix solo control activation --- libs/surfaces/osc/osc.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index 44a0863c7e..1fe23121d8 100644 --- a/libs/surfaces/osc/osc.cc +++ b/libs/surfaces/osc/osc.cc @@ -7,7 +7,7 @@ * Copyright (C) 2015-2016 Ben Loftis * Copyright (C) 2015-2018 John Emmas * Copyright (C) 2015 Johannes Mueller - * Copyright (C) 2016-2018 Len Ovens + * Copyright (C) 2016-2022 Len Ovens * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -3804,7 +3804,8 @@ OSC::_strip_parse (const char *path, const char *sub_path, const char* types, lo if (!control_disabled && s->solo_control() && !s->is_master() && !s->is_monitor()) { if (argc > (param_1)) { if (s_int) { - s->solo_control()->set_value (yn ? 1.0 : 0.0, sur->usegroup); + fake_touch (s->solo_control()); + session->set_control (s->solo_control(), yn ? 1.0 : 0.0, sur->usegroup); ret = 0; } } else { @@ -3890,7 +3891,7 @@ OSC::_strip_parse (const char *path, const char *sub_path, const char* types, lo if (argc > (param_1)) { if (s_int) { //ignore button release - if (!yn) return 0; + if (yn) return 0; sur->expand_enable = false; set_stripable_selection (s); ret = 0;