Explorar o código

Texture: Added sourceFile property. See #6236.

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
992fa72707
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 = [];