{"issue":{"state":"open","created_at":"2011-11-29T22:24:49Z","updated_at":"2011-11-30T00:34:23Z","comments":1,"user":{"gravatar_id":"7c6ff5c0dc6dbac7684bc98d38cd6cc6","id":11581,"url":"https://api.github.com/users/rectalogic","login":"rectalogic","avatar_url":"https://secure.gravatar.com/avatar/7c6ff5c0dc6dbac7684bc98d38cd6cc6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Now that Camera has to be a child of Scene, any transformation applied to the scene is effectively cancelled out because it is also applied to the camera child object.\r\n\r\ni.e. I work around the \"Flip YZ\" Blender export toggle not functioning by undoing that flip on the scene:\r\n\r\n        scene.rotation.x = Math.PI / 2;\r\n        scene.updateMatrix();\r\n\r\nThis rotates the whole scene relative to the camera - and undoes the YZ flip the exporter applies to the mesh. Now this rotation is also applied to the camera child and so is a noop.\r\n\r\nI have a pull request that fixes the Blender exporter \"Flip YZ\" toggle, for my use case at least this would make the above unecessary.\r\nhttps://github.com/mrdoob/three.js/pull/561","assignee":null,"id":2394428,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":816,"title":"Scene transformation cancelled out","closed_at":null,"html_url":"https://github.com/mrdoob/three.js/issues/816","url":"https://api.github.com/repos/mrdoob/three.js/issues/816","milestone":null},"action":"created","comment":{"created_at":"2011-11-30T00:34:23Z","updated_at":"2011-11-30T00:34:23Z","user":{"gravatar_id":"a00211a1e1aa4fe920302e7b76da0d91","id":97088,"url":"https://api.github.com/users/mrdoob","login":"mrdoob","avatar_url":"https://secure.gravatar.com/avatar/a00211a1e1aa4fe920302e7b76da0d91?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Yeah, I should have merged that patch back then :/\r\nDo you mind implementing the feature in the [latest exporter in the dev branch](https://github.com/mrdoob/three.js/tree/master/utils/exporters/blender/2.60/scripts/addons/io_mesh_threejs) and opening a new pull request?","id":2953108,"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/2953108"}}