提交 9318d75f 编写于 作者: M Mr.doob

Texture.toJSON(): flipY support.

上级 14c4ccac
......@@ -401,6 +401,8 @@ Object.assign( THREE.ObjectLoader.prototype, {
}
if ( data.flipY !== undefined ) texture.flipY = data.flipY;
textures[ data.uuid ] = texture;
}
......
......@@ -155,7 +155,9 @@ THREE.Texture.prototype = {
minFilter: this.minFilter,
magFilter: this.magFilter,
anisotropy: this.anisotropy
anisotropy: this.anisotropy,
flipY: this.flipY
};
if ( this.image !== undefined ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册