提交 e0db1230 编写于 作者: T Takahiro 提交者: Mr.doob

Clear unused morphInfluences in WebGLRenderer.renderBufferDirect to fix #9635 (#9640)

上级 c2727295
......@@ -760,6 +760,12 @@ function WebGLRenderer( parameters ) {
}
for ( var i = activeInfluences.length, il = morphInfluences.length; i < il; i ++ ) {
morphInfluences[ i ] = 0.0;
}
program.getUniforms().setValue(
_gl, 'morphTargetInfluences', morphInfluences );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册