mrdoob/three.js — pull request #766 by G3z (2011-11-16 21:48:55+00:00)
Title: if d is set to null, on the second passage d.copy fails miserably

Either commenting that line out or changing it as proposed seems to fix the problem