From a1e741ede91101db76c82a0ba2c1ccfb27c9aa61 Mon Sep 17 00:00:00 2001 From: aardgoose Date: Thu, 17 Nov 2016 10:46:12 +0000 Subject: [PATCH] remove UnifomrsUtils.* --- examples/js/postprocessing/OutlinePass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/js/postprocessing/OutlinePass.js b/examples/js/postprocessing/OutlinePass.js index 44b143f502..6fb392e90c 100644 --- a/examples/js/postprocessing/OutlinePass.js +++ b/examples/js/postprocessing/OutlinePass.js @@ -74,7 +74,7 @@ THREE.OutlinePass = function ( resolution, scene, camera, selectedObjects ) { var copyShader = THREE.CopyShader; - this.copyUniforms = THREE.UniformsUtils.clone( copyShader.uniforms ); + this.copyUniforms = Object.assign( {}, copyShader.uniforms ); this.copyUniforms[ "opacity" ].value = 1.0; this.materialCopy = new THREE.ShaderMaterial( { -- GitLab