mrdoob/three.js — pull request #2817 by gero3 (2012-12-18 09:11:33+00:00)
Title: add the function setMaterialIndex to GeometryUtils

This make it possible to change the material Index manually. This is especcially handy when you start to merge generated geometries with different materials.