mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 21:58:03 -06:00
Fix of a crash on OSX after changing a layer range value and then
pressing the "add layer" button.
This commit is contained in:
parent
7b6c920a3d
commit
e47e487fe2
5 changed files with 132 additions and 86 deletions
|
@ -152,8 +152,9 @@ static void DeviceAdded(uint32_t unused)
|
|||
static void DeviceRemoved(uint32_t unused)
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(info) << "3dx device removed\n";
|
||||
assert(m_connected);
|
||||
assert(! m_device_str.empty());
|
||||
// not accessible in a free function
|
||||
// assert(m_connected);
|
||||
// assert(! m_device_str.empty());
|
||||
mouse_3d_controller->disconnected();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue