{"action":"opened","issue":{"url":"https://api.github.com/repos/potree/potree/issues/130","labels_url":"https://api.github.com/repos/potree/potree/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/potree/potree/issues/130/comments","events_url":"https://api.github.com/repos/potree/potree/issues/130/events","html_url":"https://github.com/potree/potree/issues/130","id":60806552,"number":130,"title":"Potree.PointCloudOctree.prototype.update undefined 'scene' variable","user":{"login":"okitu","id":619708,"avatar_url":"https://avatars.githubusercontent.com/u/619708?v=3","gravatar_id":"","url":"https://api.github.com/users/okitu","html_url":"https://github.com/okitu","followers_url":"https://api.github.com/users/okitu/followers","following_url":"https://api.github.com/users/okitu/following{/other_user}","gists_url":"https://api.github.com/users/okitu/gists{/gist_id}","starred_url":"https://api.github.com/users/okitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitu/subscriptions","organizations_url":"https://api.github.com/users/okitu/orgs","repos_url":"https://api.github.com/users/okitu/repos","events_url":"https://api.github.com/users/okitu/events{/privacy}","received_events_url":"https://api.github.com/users/okitu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-12T11:44:08Z","updated_at":"2015-03-12T11:44:08Z","closed_at":null,"body":"When `showBoundingBox` is true for my pointCloud, the `Potree.PointCloudOctree.prototype.update` method tries to add a `boxHelper` to `scene`. This `scene`variable is undefined.\r\n\r\nI think this normally works, because your examples are one-page demos. where everything kindof is globally defined. I'm currently implementing this in a larger AMD-based app."}}