Explorar o código

use auto build

sunag %!s(int64=7) %!d(string=hai) anos
pai
achega
76fb60ae36

+ 0 - 2
examples/js/loaders/NodeMaterialLoader.js

@@ -581,8 +581,6 @@ Object.assign( THREE.NodeMaterialLoader.prototype, {
 
 			object.value = this.getNode( node.value );
 
-			object.build();
-
 		}
 
 		return this.material || this.pass || this;

+ 0 - 8
examples/js/nodes/postprocessing/NodePass.js

@@ -54,14 +54,6 @@ THREE.NodePass.prototype.render = function () {
 
 };
 
-THREE.NodePass.prototype.build = function () {
-
-	this.node.build();
-
-	this.needsUpdate = false;
-
-};
-
 THREE.NodePass.prototype.toJSON = function ( meta ) {
 
 	var isRootObject = ( meta === undefined || typeof meta === 'string' );