提交 9e1149f7 编写于 作者: P Peter Varga

Remove perspective component from style when scene is being rendered with an orthographic camera

上级 ad767947
......@@ -285,6 +285,11 @@ var CSS3DRenderer = function () {
domElement.style.WebkitPerspective = fov + 'px';
domElement.style.perspective = fov + 'px';
} else {
domElement.style.WebkitPerspective = '';
domElement.style.perspective = '';
}
cache.camera.fov = fov;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册