Experimental keymap was failing on NDof section.
authorNathan Vegdahl <cessen@cessen.com>
Thu, 27 Feb 2014 23:04:26 +0000 (15:04 -0800)
committerNathan Vegdahl <cessen@cessen.com>
Thu, 27 Feb 2014 23:04:26 +0000 (15:04 -0800)
For now I'm just commenting that section out.  Left a TODO to fix it
properly.

presets/keyconfig/blender_2012_experimental.py

index 89ead30..7bb64b4 100644 (file)
@@ -603,20 +603,21 @@ def MapAdd_Window(kc):
     kmi = km.keymap_items.new('wm.save_homefile', 'U', 'PRESS', ctrl=True)
 
     # NDof Device
-    kmi = km.keymap_items.new('wm.call_menu', 'NDOF_BUTTON_MENU', 'PRESS')
-    kmi.properties.name = 'USERPREF_MT_ndof_settings'
-    kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_PLUS', 'PRESS')
-    kmi.properties.decrease = False
-    kmi.properties.fast = False
-    kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_MINUS', 'PRESS')
-    kmi.properties.decrease = True
-    kmi.properties.fast = False
-    kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_PLUS', 'PRESS', shift=True)
-    kmi.properties.decrease = False
-    kmi.properties.fast = True
-    kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_MINUS', 'PRESS', shift=True)
-    kmi.properties.decrease = True
-    kmi.properties.fast = True
+    # TODO: fix NDof below
+    #kmi = km.keymap_items.new('wm.call_menu', 'NDOF_BUTTON_MENU', 'PRESS')
+    #kmi.properties.name = 'USERPREF_MT_ndof_settings'
+    #kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_PLUS', 'PRESS')
+    #kmi.properties.decrease = False
+    #kmi.properties.fast = False
+    #kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_MINUS', 'PRESS')
+    #kmi.properties.decrease = True
+    #kmi.properties.fast = False
+    #kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_PLUS', 'PRESS', shift=True)
+    #kmi.properties.decrease = False
+    #kmi.properties.fast = True
+    #kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_MINUS', 'PRESS', shift=True)
+    #kmi.properties.decrease = True
+    #kmi.properties.fast = True
 
     # Misc
     # TODO: find good replacements for the F# keys