mrdoob/three.js — pull request #2137 by CoryG89 (2012-06-29 06:08:54+00:00)
Title: Change to ImageUtils

Hey I was trying to utilize the callbacks in the loadTexture and loadTextureCube functions located in the ImageUtils file so that my rendering didn't start until all textures are loaded and I noticed it didn't quite work all the time when I used the loadTextureCube. I am not sure why the callback is called for each face of the cube but this seems to work fine for me and it allows me to make sure that everything is loaded before rendering.