13
0

fix crash when using OSC in a session with no master bus and no stripables selected

This commit is contained in:
Paul Davis 2023-09-22 08:26:22 -06:00
parent 2d2660a6eb
commit 8c2bf116f5

View File

@ -4757,6 +4757,9 @@ OSC::_strip_select2 (std::shared_ptr<Stripable> s, OSCSurface *sur, lo_address a
}
_select = s;
}
if (!s) {
return 0;
}
if (s != old_sel) {
sur->select = s;
}