Browse Source

WebGLShadowMap: Clean up.

Mugen87 5 years ago
parent
commit
84feb98a67
1 changed files with 1 additions and 1 deletions
  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;