{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/102f17da06c90b4343ed92e5c055c4ae?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"102f17da06c90b4343ed92e5c055c4ae","url":"https://api.github.com/users/dabbott","login":"dabbott","id":1198882},"labels":[{"name":"Question","color":"dad9ff","url":"https://api.github.com/repos/mrdoob/three.js/labels/Question"}],"updated_at":"2011-11-17T00:22:43Z","assignee":null,"comments":11,"closed_at":null,"url":"https://api.github.com/repos/mrdoob/three.js/issues/764","body":"So I'm loading a Collada file, and I'd like to have multiple instances of the scene. I figured it would be wasteful to load the file multiple times, so I wrote a simple function to clone the scene while reusing geometries and materials.\r\n\r\nThe problem is, even when I copy the position/rotation/matrix of the original Object3D/Meshes to the new objects, none of the new objects are positioned or rotated correctly.\r\n\r\nIs there a function to clone an Object3D? Or maybe a better way of doing this? And if not... what properties of Object3D/Mesh would I actually need to copy for my method to work?\r\n\r\nI can post a demo if that would help.","html_url":"https://github.com/mrdoob/three.js/issues/764","title":"Cloning Collada scene?","number":764,"id":2254246,"created_at":"2011-11-16T09:24:09Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/a00211a1e1aa4fe920302e7b76da0d91?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a00211a1e1aa4fe920302e7b76da0d91","url":"https://api.github.com/users/mrdoob","login":"mrdoob","id":97088},"updated_at":"2011-11-17T00:22:43Z","url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/2770386","body":"Eek, I suspected you were going to fix at the same time, but I just wanted to get a fixed r46 as soon as possible. Good thing the fix is identical :P","id":2770386,"created_at":"2011-11-17T00:22:43Z"}}