[Bf-extensions-cvs] [a12a93cb] blender2.8: mesh_snap_utilities_line: Possible fix to NDOF navigation

mano-wii noreply at git.blender.org
Tue Nov 27 05:27:22 CET 2018


Commit: a12a93cbdffe78998b494175d5012fb1a79e2826
Author: mano-wii
Date:   Tue Nov 27 01:26:00 2018 -0200
Branches: blender2.8
https://developer.blender.org/rBAa12a93cbdffe78998b494175d5012fb1a79e2826

mesh_snap_utilities_line: Possible fix to NDOF navigation

===================================================================

M	mesh_snap_utilities_line/common_classes.py

===================================================================

diff --git a/mesh_snap_utilities_line/common_classes.py b/mesh_snap_utilities_line/common_classes.py
index 9251e3e1..8227f485 100644
--- a/mesh_snap_utilities_line/common_classes.py
+++ b/mesh_snap_utilities_line/common_classes.py
@@ -279,16 +279,16 @@ class SnapNavigation():
 
         if self.use_ndof:
             ndofkey = evkey[:2]
-            if evkey in self._ndof_all:
+            if ndofkey in self._ndof_all:
                 bpy.ops.view3d.ndof_all('INVOKE_DEFAULT')
                 return True
-            if evkey in self._ndof_orbit:
+            if ndofkey in self._ndof_orbit:
                 bpy.ops.view3d.ndof_orbit('INVOKE_DEFAULT')
                 return True
-            if evkey in self._ndof_orbit_zoom:
+            if ndofkey in self._ndof_orbit_zoom:
                 bpy.ops.view3d.ndof_orbit_zoom('INVOKE_DEFAULT')
                 return True
-            if evkey in self._ndof_pan:
+            if ndofkey in self._ndof_pan:
                 bpy.ops.view3d.ndof_pan('INVOKE_DEFAULT')
                 return True



More information about the Bf-extensions-cvs mailing list