Added by default rotation on middle + alt, (almost a standard on various 3d packages). Kind patch submitted by Sebastian Herholz.
This commit is contained in:
parent
3d8400f86e
commit
dcbb7456ac
|
@ -149,6 +149,7 @@ void Trackball::setDefaultMapping () {
|
||||||
modes[BUTTON_MIDDLE] = new PanMode ();
|
modes[BUTTON_MIDDLE] = new PanMode ();
|
||||||
modes[BUTTON_LEFT | KEY_SHIFT] = new ScaleMode ();
|
modes[BUTTON_LEFT | KEY_SHIFT] = new ScaleMode ();
|
||||||
modes[BUTTON_LEFT | KEY_ALT] = new ZMode ();
|
modes[BUTTON_LEFT | KEY_ALT] = new ZMode ();
|
||||||
|
modes[BUTTON_MIDDLE | KEY_ALT] = new SphereMode ();
|
||||||
modes[WHEEL] = new ScaleMode ();
|
modes[WHEEL] = new ScaleMode ();
|
||||||
SetCurrentAction ();
|
SetCurrentAction ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue