* support mouse_moved_epsilon system in camera freelook + refactor RadiantWindowObserver
This commit is contained in:
@@ -1015,7 +1015,7 @@ gboolean selection_motion_freemove( GtkWidget *widget, GdkEventMotion *event, Wi
|
||||
void selection_motion_freemove( gdouble x, gdouble y, guint state, void* data ){
|
||||
//globalOutputStream() << "motion... ";
|
||||
CamWnd* camwnd = reinterpret_cast<CamWnd*>( data );
|
||||
camwnd->m_window_observer->setMouseMoved();
|
||||
camwnd->m_window_observer->incMouseMove( WindowVector_forDouble( x, y ) );
|
||||
camwnd->m_window_observer->onMouseMotion( windowvector_for_widget_centre( camwnd->m_gl_widget ), modifiers_for_state( state ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user