mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 18:25:55 +08:00
Fix for selection multiple sla support points with shift
This commit is contained in:
parent
2ce76e27dd
commit
fbb159d595
@ -1284,7 +1284,8 @@ void GLGizmoSlaSupports::reslice_SLA_supports(bool postpone_error_messages) cons
|
|||||||
|
|
||||||
bool GLGizmoSlaSupports::on_mouse(const wxMouseEvent &mouse_event){
|
bool GLGizmoSlaSupports::on_mouse(const wxMouseEvent &mouse_event){
|
||||||
if (mouse_event.Moving()) return false;
|
if (mouse_event.Moving()) return false;
|
||||||
if (use_grabbers(mouse_event)) return true;
|
if (!mouse_event.ShiftDown() && !mouse_event.AltDown()
|
||||||
|
&& use_grabbers(mouse_event)) return true;
|
||||||
|
|
||||||
// wxCoord == int --> wx/types.h
|
// wxCoord == int --> wx/types.h
|
||||||
Vec2i mouse_coord(mouse_event.GetX(), mouse_event.GetY());
|
Vec2i mouse_coord(mouse_event.GetX(), mouse_event.GetY());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user