浏览代码

Texture: Added sourceFile property. See #6236.

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

+ 1 - 0
src/textures/Texture.js

@@ -11,6 +11,7 @@ THREE.Texture = function ( image, mapping, wrapS, wrapT, magFilter, minFilter, f
 	this.uuid = THREE.Math.generateUUID();
 
 	this.name = '';
+	this.sourceFile = '';
 
 	this.image = image !== undefined ? image : THREE.Texture.DEFAULT_IMAGE;
 	this.mipmaps = [];