瀏覽代碼

removed unused texture.sourceFile property (#10024)

Lewy Blue 8 年之前
父節點
當前提交
dff3b9fd01
共有 2 個文件被更改,包括 0 次插入6 次删除
  1. 0 5
      docs/api/textures/Texture.html
  2. 0 1
      src/textures/Texture.js

+ 0 - 5
docs/api/textures/Texture.html

@@ -55,11 +55,6 @@
 		as long as video is playing - the [page:VideoTexture VideoTexture] class handles this automatically.
 		as long as video is playing - the [page:VideoTexture VideoTexture] class handles this automatically.
 		</div>
 		</div>
 
 
-		<h3>[property:string sourceFile]</h3>
-		<div>
-		This property is currently unused.
-		</div>
-
 		<h3>[property:array mipmaps]</h3>
 		<h3>[property:array mipmaps]</h3>
 		<div>
 		<div>
 		Array of user-specified mipmaps (optional).
 		Array of user-specified mipmaps (optional).

+ 0 - 1
src/textures/Texture.js

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