Blender Git Commit Log

Git Commits -> Revision 1b61771

Revision 1b61771 by Martin Poirier (master)
March 15, 2005, 17:31 (GMT)
Optimising transformations in PET mode.

Sorting elements in TransData array according to their distance. That means we can always stop loops when it finds the first element that doesn't apply. That makes PET factor calculation and actual transformations faster since it stops at the first element outside of the area.

The Sorting algo is a no swap version of quicksort using the start of each subset as the pivot (random would be better and easy to implement. Need 3 additional lines of code really).

Commit Details:

Full Hash: 1b61771d9ec0a2f88f7d13f4ae936938fbc168c6
SVN Revision: 3955
Parent Commit: e9381e6
Lines Changed: +83, -14

2 Modified Paths:

/source/blender/src/transform.c (+60, -10) (Diff)
/source/blender/src/transform_generics.c (+23, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021