mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-09-13 09:53:15 +08:00
fix update data
This commit is contained in:
parent
df4a95695b
commit
d08e6d8c1b
@ -193,9 +193,9 @@ bool GLGizmoBase::use_grabbers(const wxMouseEvent &mouse_event) {
|
|||||||
} else if (m_dragging) {
|
} else if (m_dragging) {
|
||||||
if (mouse_event.Dragging()) {
|
if (mouse_event.Dragging()) {
|
||||||
m_parent.set_mouse_as_dragging();
|
m_parent.set_mouse_as_dragging();
|
||||||
|
Point mouse_coord(mouse_event.GetX(), mouse_event.GetY());
|
||||||
Point mouse_coord(mouse_event.GetX(), mouse_event.GetY());
|
auto ray = m_parent.mouse_ray(mouse_coord);
|
||||||
UpdateData data{m_parent.mouse_ray(mouse_coord), mouse_coord};
|
UpdateData data(ray, mouse_coord);
|
||||||
|
|
||||||
on_dragging(data);
|
on_dragging(data);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user