Explorar el Código

WebGLShadowMap: Clean up.

Mugen87 hace 5 años
padre
commit
84feb98a67
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/renderers/webgl/WebGLShadowMap.js

+ 1 - 1
src/renderers/webgl/WebGLShadowMap.js

@@ -295,7 +295,7 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
 
 			var useMorphing = false;
 
-			if ( material.morphTargets === true && geometry.isBufferGeometry === true ) {
+			if ( material.morphTargets === true ) {
 
 				useMorphing = geometry.morphAttributes && geometry.morphAttributes.position && geometry.morphAttributes.position.length > 0;