mrdoob/three.js — pull request #1855 by barnabygunning (2012-05-02 16:38:23+00:00)
Title: changed oldFace.material to oldFace.materialIndex in line 78

hope this works!