mrdoob/three.js — pull request #2785 by dgossow (2012-12-11 20:30:56+00:00)
Title: Adds support for Collada meshes with multiple textures, adds some safety checks to avoid warnings

This will fix two issues in the Collada Loader that I had trouble with:

- It would assume that each surface has only one texture. I had meshes with normal maps, where the loader would display those instead of the color texture.
- It would try to copy some color properties without checking if they were actually defined, which lead to errors;

One example of a mesh file I used this with can be found here: https://code.ros.org/svn/wg-ros-pkg/stacks/pr2_common/trunk/pr2_description/meshes/base_v0/base.dae