提交 65b7be2c 编写于 作者: K Kyle Larson

Fixed bug with unskinned geometry not loading materials correctly.

上级 a0531078
......@@ -368,7 +368,7 @@
}
if ( geometry.bones !== undefined && geometry.skinWeights !== undefined ) {
if ( geometry.bones !== undefined && geometry.skinWeights !== undefined && geometry.skinWeights.length > 0 ) {
if ( material instanceof THREE.MultiMaterial ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册