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) {
|
||||
if (mouse_event.Dragging()) {
|
||||
m_parent.set_mouse_as_dragging();
|
||||
|
||||
Point mouse_coord(mouse_event.GetX(), mouse_event.GetY());
|
||||
UpdateData data{m_parent.mouse_ray(mouse_coord), mouse_coord};
|
||||
auto ray = m_parent.mouse_ray(mouse_coord);
|
||||
UpdateData data(ray, mouse_coord);
|
||||
|
||||
on_dragging(data);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user