Explorar o código

Broke webgl_materials_nodes.html to expose bug

Daniel Sturk %!s(int64=6) %!d(string=hai) anos
pai
achega
dca1fac0f1
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      examples/webgl_materials_nodes.html

+ 3 - 0
examples/webgl_materials_nodes.html

@@ -981,6 +981,9 @@
 
 							mtl.needsUpdate = true;
 
+							var killer = new THREE.PhongNodeMaterial();
+							killer.needsUpdate = false; // this is used mtl.onBeforeCompile
+
 						} );
 
 						break;