Blender Git Loki

Git Commits -> Revision 10c4c64

Revision 10c4c64 by Martin Poirier (master)
July 11, 2005, 11:09 (GMT)
Boundbox select object mode optimisation.

Changed selectprojektie (and renamed to view3d_opengl_select as suggested by Ton) to accept a buffer size, so boundbox can adapt it's buffer size to the number of object in scene.
Also, the loop is done more smartly, since glSelect fills the buffer in the same order as the drawing order, so we save lops of looping on unselected object (which used to go through all the buffer before finding that they weren't selected).

This scheme could probably be applied to all the other loops using glSelect. (good project for newbie coders)

Commit Details:

Full Hash: 10c4c6463c64b6f10765e25291036c2fbe6b5fce
SVN Revision: 4686
Parent Commit: 8301d7a
Lines Changed: +51, -26

5 Modified Paths:

/source/blender/include/BSE_view.h (+1, -1) (Diff)
/source/blender/src/editarmature.c (+2, -2) (Diff)
/source/blender/src/editmball.c (+1, -1) (Diff)
/source/blender/src/editview.c (+45, -20) (Diff)
/source/blender/src/view.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021