{"action":"created","issue":{"url":"https://api.github.com/repos/jMonkeyEngine/jmonkeyengine/issues/403","labels_url":"https://api.github.com/repos/jMonkeyEngine/jmonkeyengine/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/jMonkeyEngine/jmonkeyengine/issues/403/comments","events_url":"https://api.github.com/repos/jMonkeyEngine/jmonkeyengine/issues/403/events","html_url":"https://github.com/jMonkeyEngine/jmonkeyengine/pull/403","id":128958375,"number":403,"title":"Node doesn't invalidate updateList upon clone()","user":{"login":"lightbringer","id":1387559,"avatar_url":"https://avatars.githubusercontent.com/u/1387559?v=3","gravatar_id":"","url":"https://api.github.com/users/lightbringer","html_url":"https://github.com/lightbringer","followers_url":"https://api.github.com/users/lightbringer/followers","following_url":"https://api.github.com/users/lightbringer/following{/other_user}","gists_url":"https://api.github.com/users/lightbringer/gists{/gist_id}","starred_url":"https://api.github.com/users/lightbringer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightbringer/subscriptions","organizations_url":"https://api.github.com/users/lightbringer/orgs","repos_url":"https://api.github.com/users/lightbringer/repos","events_url":"https://api.github.com/users/lightbringer/events{/privacy}","received_events_url":"https://api.github.com/users/lightbringer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-26T22:11:29Z","updated_at":"2016-01-27T00:24:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jMonkeyEngine/jmonkeyengine/pulls/403","html_url":"https://github.com/jMonkeyEngine/jmonkeyengine/pull/403","diff_url":"https://github.com/jMonkeyEngine/jmonkeyengine/pull/403.diff","patch_url":"https://github.com/jMonkeyEngine/jmonkeyengine/pull/403.patch"},"body":"Seems to me that cloning the scene graph doesn't work as intended:\r\n\r\nCalling Node#clone(boolean) on the root Node will correctly clone all Spatials and their Controls (it's in Spatial#clone(boolean) ), but will not call Node#invalidateUpdateList() afterwards.\r\n\r\nOnce you call Node#update(float) on the clone of the root Node, the Spatials and Controls in the original scene graph will be updated. \r\n\r\nPossible workaround is to attach a dummy Spatial to the cloned root node and immediately remove it. That will trigger the updateList being rebuild. However, clearing the clone's update list seems more like the proper way to do it."},"comment":{"url":"https://api.github.com/repos/jMonkeyEngine/jmonkeyengine/issues/comments/175310377","html_url":"https://github.com/jMonkeyEngine/jmonkeyengine/pull/403#issuecomment-175310377","issue_url":"https://api.github.com/repos/jMonkeyEngine/jmonkeyengine/issues/403","id":175310377,"user":{"login":"pspeed42","id":7004062,"avatar_url":"https://avatars.githubusercontent.com/u/7004062?v=3","gravatar_id":"","url":"https://api.github.com/users/pspeed42","html_url":"https://github.com/pspeed42","followers_url":"https://api.github.com/users/pspeed42/followers","following_url":"https://api.github.com/users/pspeed42/following{/other_user}","gists_url":"https://api.github.com/users/pspeed42/gists{/gist_id}","starred_url":"https://api.github.com/users/pspeed42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pspeed42/subscriptions","organizations_url":"https://api.github.com/users/pspeed42/orgs","repos_url":"https://api.github.com/users/pspeed42/repos","events_url":"https://api.github.com/users/pspeed42/events{/privacy}","received_events_url":"https://api.github.com/users/pspeed42/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T00:24:28Z","updated_at":"2016-01-27T00:24:28Z","body":"I'm blind... I see the \"Merge\" button if I go back to the original link.  \r\n\r\nI'm going to fix this a slightly different way... but your PR was key in the solution.  So thanks for that."}}