[Bf-blender-cvs] CVS commit: blender/release/scripts hotkeys.py

Campbell Barton cbarton at metavr.com
Mon Jan 22 00:14:57 CET 2007

campbellbarton (Campbell Barton) 2007/01/22 00:14:57 CET

  Modified files:
    blender/release/scripts hotkeys.py 
  Update by JMS for the hotkey script.
  Also made some changes
  - fly mode keys have changed and added snap key
  - using "i=list.index(val)" is slow, use "for i,val in enumerate(list)" instead.
  - dont use "i in range(start, end)" - silly to make a list when you can do "min < val < max"
  JMS, please update from this version.
  Revision  Changes    Path
  1.15      +82 -41    blender/release/scripts/hotkeys.py

More information about the Bf-blender-cvs mailing list