提交 84feb98a 编写于 作者: M Mugen87

WebGLShadowMap: Clean up.

上级 1e898b3d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册