mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 21:52:02 +08:00
Mostly implemented mouseup on 2D player.
Someting through on_instances_moved causes an uncaught exception.
This commit is contained in:
parent
539e83e74f
commit
c08d0de7d0
@ -210,6 +210,12 @@ void Plate2D::mouse_down(wxMouseEvent& e) {
|
||||
}
|
||||
|
||||
void Plate2D::mouse_up(wxMouseEvent& e) {
|
||||
if (e.LeftUp()) {
|
||||
//if (this->drag_object.obj != -1 && this->drag_object.inst != -1) this->on_instances_moved();
|
||||
this->drag_start_pos = wxPoint(-1, -1);
|
||||
this->drag_object = {-1, -1};
|
||||
this->SetCursor(*wxSTANDARD_CURSOR);
|
||||
}
|
||||
}
|
||||
void Plate2D::mouse_dclick(wxMouseEvent& e) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user