mrdoob/three.js — pull request #3475 by insominx (2013-05-13 19:27:43+00:00)
Title: Fixed raycasting with BufferGeometry

Raycasts now take BufferGeometry offsets into account.
Added a safeguard to check for the existence of color before adding them
to the intersected face.
Made a minor optimizations by moving a precondition out of the loop.