Skip to content
Snippets Groups Projects
Commit a12a93cb authored by mano-wii's avatar mano-wii
Browse files

mesh_snap_utilities_line: Possible fix to NDOF navigation

parent 623cbbba
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment