提交 52d4c46b 编写于 作者: M Mr.doob

Object3D: Avoid serialising geometry for Sprites.

上级 40b9d174
......@@ -678,7 +678,7 @@ Object3D.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
}
if ( this.geometry !== undefined ) {
if ( this.isMesh || this.isLine || this.isPoints ) {
object.geometry = serialize( meta.geometries, this.geometry );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册