speedup for editmesh drawing.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 11 Sep 2011 10:23:26 +0000 (10:23 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 11 Sep 2011 10:23:26 +0000 (10:23 +0000)
commit64aa651b1b95362fe7d3c57917bd50199cc4843c
tree963e4c480725638675ef9721bdbb033742481985
parent933a19c9970331eb7615677b30fdd4de016ea5a0
speedup for editmesh drawing.
- avoid needless context switching quad/tri, flat/smooth.
- dont call glNormal3vf() lighting is disabled.

gives ~2x speedup with a subdivided cube, but thats probably the best case, quad/tri smooth/flat mix will slow down a bit.
source/blender/blenkernel/intern/DerivedMesh.c