Browse Source

Updated builds.

Mr.doob 8 years ago
parent
commit
d91bfaad2a
3 changed files with 199 additions and 245 deletions
  1. 1 24
      build/three.js
  2. 197 197
      build/three.min.js
  3. 1 24
      build/three.module.js

+ 1 - 24
build/three.js

@@ -7161,27 +7161,10 @@
 
 		this.visible = true;
 
-		this._needsUpdate = true;
+		this.needsUpdate = true;
 
 	}
 
-	Object.defineProperty( Material.prototype, 'needsUpdate', {
-
-		get: function () {
-
-			return this._needsUpdate;
-
-		},
-
-		set: function ( value ) {
-
-			if ( value === true ) this.update();
-			this._needsUpdate = value;
-
-		}
-
-	} );
-
 	Object.assign( Material.prototype, EventDispatcher.prototype, {
 
 		isMaterial: true,
@@ -7438,12 +7421,6 @@
 
 		},
 
-		update: function () {
-
-			this.dispatchEvent( { type: 'update' } );
-
-		},
-
 		dispose: function () {
 
 			this.dispatchEvent( { type: 'dispose' } );

File diff suppressed because it is too large
+ 197 - 197
build/three.min.js


+ 1 - 24
build/three.module.js

@@ -7155,27 +7155,10 @@ function Material() {
 
 	this.visible = true;
 
-	this._needsUpdate = true;
+	this.needsUpdate = true;
 
 }
 
-Object.defineProperty( Material.prototype, 'needsUpdate', {
-
-	get: function () {
-
-		return this._needsUpdate;
-
-	},
-
-	set: function ( value ) {
-
-		if ( value === true ) this.update();
-		this._needsUpdate = value;
-
-	}
-
-} );
-
 Object.assign( Material.prototype, EventDispatcher.prototype, {
 
 	isMaterial: true,
@@ -7432,12 +7415,6 @@ Object.assign( Material.prototype, EventDispatcher.prototype, {
 
 	},
 
-	update: function () {
-
-		this.dispatchEvent( { type: 'update' } );
-
-	},
-
 	dispose: function () {
 
 		this.dispatchEvent( { type: 'dispose' } );

Some files were not shown because too many files changed in this diff