From fc70f27da2c89cca15fdc661517060c24812d6cd Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Thu, 8 Jun 2017 18:32:56 -0700 Subject: [PATCH] Updated builds. --- build/three.js | 4 ++-- build/three.min.js | 2 +- build/three.module.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/three.js b/build/three.js index 27c457527b..de3002437a 100644 --- a/build/three.js +++ b/build/three.js @@ -21437,9 +21437,9 @@ } - material.__webglShader = materialProperties.__webglShader; + material.onBeforeCompile( materialProperties.__webglShader ); - material.onBeforeCompile(); + material.__webglShader = materialProperties.__webglShader; // TODO: Remove? program = programCache.acquireProgram( material, parameters, code ); diff --git a/build/three.min.js b/build/three.min.js index d392538205..43849b5da9 100644 --- a/build/three.min.js +++ b/build/three.min.js @@ -134,7 +134,7 @@ Ha.g,Ha.b,aa,C)}function c(){T=B=null;ba="";W=-1;fa.reset()}function d(a){a.prev !la.intersectsSprite(a)||L.push(a);else if(a.isLensFlare)D.push(a);else if(a.isImmediateRenderObject)c&&Pa.setFromMatrixPosition(a.matrixWorld).applyMatrix4(kd),E.push(a,null,a.material,Pa.z,null);else if(a.isMesh||a.isLine||a.isPoints)if(a.isSkinnedMesh&&a.skeleton.update(),!a.frustumCulled||la.intersectsObject(a)){c&&Pa.setFromMatrixPosition(a.matrixWorld).applyMatrix4(kd);var d=va.update(a),e=a.material;if(Array.isArray(e))for(var f=d.groups,g=0,h=f.length;g