[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
Log:
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
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/release/scripts/hotkeys.py.diff?r1=1.14&r2=1.15&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list