mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
ENABLE_3DCONNEXION_DEVICES -> Increased limit of device buttons
This commit is contained in:
parent
b11704d380
commit
d58dedd459
3 changed files with 31 additions and 18 deletions
|
@ -2551,7 +2551,7 @@ void GLCanvas3D::on_mouse_wheel(wxMouseEvent& evt)
|
|||
#if ENABLE_3DCONNEXION_DEVICES
|
||||
// try to filter out events coming from mouse 3d controller
|
||||
const Mouse3DController& controller = wxGetApp().plater()->get_mouse3d_controller();
|
||||
if (controller.has_rotation() || controller.has_translation())
|
||||
if (controller.has_translation_or_rotation())
|
||||
return;
|
||||
#endif // ENABLE_3DCONNEXION_DEVICES
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue