Blender Git Loki

Git Commits -> Revision 6eaae37

Revision 6eaae37 by Campbell Barton (master)
September 11, 2011, 04:31 (GMT)
simple changes to grid drawing logic.

- make ortho grid drawing use vertex arrays
- make perspective view floor drawing cache result of UI_ThemeColorShade so its not called on every line.
- make perspective view floor only loop once on each axis when the grid floor isnt being drawn (was looking over all grid lines for no reason).
- add UI_GetColorPtrShade3ubv() to replace UI_GetColorPtrBlendShade3ubv() when no blending is needed.

Commit Details:

Full Hash: 6eaae376a89ee1b0c38d7ff61017a6ba914055bd
SVN Revision: 40109
Parent Commit: 599cd56
Lines Changed: +112, -85

4 Modified Paths:

/source/blender/editors/include/UI_resources.h (+3, -0) (Diff)
/source/blender/editors/interface/resources.c (+17, -0) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+12, -12) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+80, -73) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021