Blender Git Loki

Git Commits -> Revision 60ddaf0

Revision 60ddaf0 by Campbell Barton (master)
June 13, 2015, 09:47 (GMT)
Python API: use cached translation tables

bpy.path.clean_name() and AddPresetBase.as_filename() were doing
inefficient search-replace of individual characters.

Use cached replacement table instead.

Commit Details:

Full Hash: 60ddaf045a6874cde9bdd148fa955356b864e156
Parent Commit: 02a496c
Lines Changed: +55, -20

2 Modified Paths:

/release/scripts/modules/bpy/path.py (+41, -17) (Diff)
/release/scripts/startup/bl_operators/presets.py (+14, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021