Blender Git Loki
Git Commits -> Revision f79c748
Revision f79c748 by Bastien Montagne (master) September 4, 2015, 10:26 (GMT) |
Armature: Cheap edit-to-object mode speedup. `fix_bonelist_roll()` is already recursive, and was calling recursive `BKE_armature_where_is_bone()` twice! Changed `BKE_armature_where_is_bone()` to controll whether we recurse over children or not. With full Victor's rig, we gain 16% in `ED_armature_from_edit()` (from 31ms to 26ms). With a dummy test-case 100 bones chain, we gain 80% in `ED_armature_from_edit()` (from 1.25ms to 0.25ms). Not crucial, but still worth it. ;) |
Commit Details:
Full Hash: f79c748246b075fddf719d2a7a7cbd764f4c5a60
Parent Commit: 52fda9b
Lines Changed: +13, -11