projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef7c673
)
Mackie Control: Fix crash in multi-surface setup when add/remove tracks.
author
Len Ovens
<len@ovenwerks.net>
Mon, 18 Jan 2016 16:58:07 +0000
(08:58 -0800)
committer
Len Ovens
<len@ovenwerks.net>
Mon, 18 Jan 2016 16:58:07 +0000
(08:58 -0800)
libs/surfaces/mackie/surface.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/mackie/surface.cc
b/libs/surfaces/mackie/surface.cc
index acc997e652f2d2bad88d16ce0ab9651669290c64..942fb809a938f7e25749c664b509bee2a6302c03 100644
(file)
--- a/
libs/surfaces/mackie/surface.cc
+++ b/
libs/surfaces/mackie/surface.cc
@@
-369,7
+369,9
@@
Surface::init_strips (uint32_t n)
void
Surface::master_monitor_may_have_changed ()
{
- setup_master ();
+ if (_number == _mcp.device_info().master_position()) {
+ setup_master ();
+ }
}
void