forked from bartvdbraak/blender
2.5
Bugfix: new ALT+LMB pan in 2d windows hanged eternally; the modal keymaps didnt support this yet. Is on todo; but fix is easy for now. Also don't know if this is the right way to do it... systems with MMB can also get it as macro (like action mouse, select mouse).
This commit is contained in:
parent
83e9144ff0
commit
3bc5d87e50
@ -235,6 +235,7 @@ static int view_pan_modal(bContext *C, wmOperator *op, wmEvent *event)
|
||||
}
|
||||
break;
|
||||
|
||||
case LEFTMOUSE:
|
||||
case MIDDLEMOUSE:
|
||||
if (event->val==0) {
|
||||
/* calculate overall delta mouse-movement for redo */
|
||||
@ -826,6 +827,7 @@ static int view_zoomdrag_modal(bContext *C, wmOperator *op, wmEvent *event)
|
||||
}
|
||||
break;
|
||||
|
||||
case LEFTMOUSE:
|
||||
case MIDDLEMOUSE:
|
||||
if (event->val==0) {
|
||||
/* for redo, store the overall deltas - need to respect zoom-locks here... */
|
||||
|
Loading…
Reference in New Issue
Block a user