浏览代码

Merge branch 'master' into skinning

Mr.doob 14 年之前
父节点
当前提交
f474b91918
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/materials/Texture.js

+ 2 - 0
src/materials/Texture.js

@@ -6,6 +6,8 @@
 
 THREE.Texture = function ( image, mapping, wrap_s, wrap_t, mag_filter, min_filter ) {
 
+	if ( image.getContext ) image.loaded = true;
+
 	this.image = image;
 
 	this.mapping = mapping !== undefined ? mapping : new THREE.UVMapping();