Explorar o código

WebGLShadowMap: Clean up.

Mugen87 %!s(int64=5) %!d(string=hai) anos
pai
achega
84feb98a67
Modificáronse 1 ficheiros con 1 adicións e 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;