Docs: document the use_axis_view argumeht to view_roll_angle

Also remove event print left in by accident.
This commit is contained in:
Campbell Barton 2022-03-02 18:28:15 +11:00
parent 46a5a15d30
commit f8577db05d
2 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,11 @@
/** \name View Roll Operator
* \{ */
/**
* \param use_axis_view: When true, keep axis-aligned orthographic views
* (when rotating in 90 degree increments). While this may seem obscure some NDOF
* devices have key shortcuts to do this (see #NDOF_BUTTON_ROLL_CW & #NDOF_BUTTON_ROLL_CCW).
*/
static void view_roll_angle(ARegion *region,
float quat[4],
const float orig_quat[4],

View File

@ -3185,8 +3185,6 @@ static int wm_handlers_do(bContext *C, wmEvent *event, ListBase *handlers)
CLOG_INFO(WM_LOG_HANDLERS, 1, "handling PRESS_DRAG");
WM_event_print(event);
action |= wm_handlers_do_intern(C, win, event, handlers);
event->direction = 0;