Commit 35480961 authored by sumpfralle's avatar sumpfralle

fixed 3D view rotation direction (for H/J/K/L keys)


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@871 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent e369ec4f
...@@ -354,10 +354,10 @@ class ModelViewWindowGL: ...@@ -354,10 +354,10 @@ class ModelViewWindowGL:
ord("j"): (0, -1), ord("j"): (0, -1),
ord("k"): (0, 1), ord("k"): (0, 1),
ord("l"): (-1, 0), ord("l"): (-1, 0),
ord("H"): (-1, 0), ord("H"): (1, 0),
ord("J"): (0, 1), ord("J"): (0, -1),
ord("K"): (0, -1), ord("K"): (0, 1),
ord("L"): (1, 0), ord("L"): (-1, 0),
} }
def get_char(value): def get_char(value):
# avoid exceptions # avoid exceptions
......
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