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