未验证 提交 7ccf5ce8 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #14459 from mrdoob/sprite_fix

Object3D: Avoid serialising geometry for Sprites.
......@@ -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.
先完成此消息的编辑!
想要评论请 注册