Commit 84178b38 authored by sumpfralle's avatar sumpfralle

reverted move directions for OpenGL view (more intuitive)

replace "Reset" with "Center" in OpenGL view


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@854 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent a3fb5bec
......@@ -4527,7 +4527,7 @@ upon interesting bugs and weird results.</property>
<child>
<object class="GtkToolButton" id="Reset View">
<property name="visible">True</property>
<property name="label" translatable="yes">Reset</property>
<property name="label" translatable="yes">Center</property>
<property name="use_underline">True</property>
</object>
<packing>
......
......@@ -347,14 +347,14 @@ class ModelViewWindowGL:
return
# define arrow keys and "vi"-like navigation keys
move_keys_dict = {
gtk.keysyms.Left: (1, 0),
gtk.keysyms.Down: (0, -1),
gtk.keysyms.Up: (0, 1),
gtk.keysyms.Right: (-1, 0),
ord("h"): (1, 0),
ord("j"): (0, -1),
ord("k"): (0, 1),
ord("l"): (-1, 0),
gtk.keysyms.Left: (-1, 0),
gtk.keysyms.Down: (0, 1),
gtk.keysyms.Up: (0, -1),
gtk.keysyms.Right: (1, 0),
ord("h"): (-1, 0),
ord("j"): (0, 1),
ord("k"): (0, -1),
ord("l"): (1, 0),
ord("H"): (1, 0),
ord("J"): (0, -1),
ord("K"): (0, 1),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment