Blender Git Commit Log

Git Commits -> Revision b995593

Revision b995593 by Campbell Barton (master)
December 14, 2006, 14:53 (GMT)

faster sorting syntax in python, try/except for py 2.3 backwards compat

ls.sort(key = lambda v: v.foo)
rather then
ls.sort(lambda a,b: cmp(a.foo, b.foo))

Commit Details:

Full Hash: b995593eee050837385ecd6e4e1ef7ac7a6467bf
SVN Revision: 9320
Parent Commit: 4b99060
Lines Changed: +52, -18

8 Modified Paths:

/release/scripts/bpymodules/boxpack2d.py (+5, -2) (Diff)
/release/scripts/bpymodules/BPyMathutils.py (+3, -1) (Diff)
/release/scripts/bpymodules/BPyMesh_redux.py (+3, -1) (Diff)
/release/scripts/mesh_boneweight_copy.py (+3, -1) (Diff)
/release/scripts/mesh_mirror_tool.py (+2, -1) (Diff)
/release/scripts/mesh_skin.py (+7, -2) (Diff)
/release/scripts/uv_archimap.py (+26, -9) (Diff)
/release/scripts/uv_from_adjacent.py (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021