x3dom/x3dom — pull request #118 by stepasite (2012-10-02 09:56:00+00:00)
Title: IndexedFaceSet fix for colorPerVertex option

When colorIndex is empty and colorPerVertex is FALSE, colors from Color node should be projected to geometry faces, not to vertices. There should be at least as many colors in the Color node as there are faces in this case.