{"action":"closed","issue":{"url":"https://api.github.com/repos/Rajawali/Rajawali/issues/1370","labels_url":"https://api.github.com/repos/Rajawali/Rajawali/issues/1370/labels{/name}","comments_url":"https://api.github.com/repos/Rajawali/Rajawali/issues/1370/comments","events_url":"https://api.github.com/repos/Rajawali/Rajawali/issues/1370/events","html_url":"https://github.com/Rajawali/Rajawali/issues/1370","id":60775783,"number":1370,"title":"Projection matrix of camera should be set when the scene switches cameras","user":{"login":"jwoolston","id":2993125,"avatar_url":"https://avatars.githubusercontent.com/u/2993125?v=3","gravatar_id":"","url":"https://api.github.com/users/jwoolston","html_url":"https://github.com/jwoolston","followers_url":"https://api.github.com/users/jwoolston/followers","following_url":"https://api.github.com/users/jwoolston/following{/other_user}","gists_url":"https://api.github.com/users/jwoolston/gists{/gist_id}","starred_url":"https://api.github.com/users/jwoolston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwoolston/subscriptions","organizations_url":"https://api.github.com/users/jwoolston/orgs","repos_url":"https://api.github.com/users/jwoolston/repos","events_url":"https://api.github.com/users/jwoolston/events{/privacy}","received_events_url":"https://api.github.com/users/jwoolston/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Rajawali/Rajawali/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"login":"jwoolston","id":2993125,"avatar_url":"https://avatars.githubusercontent.com/u/2993125?v=3","gravatar_id":"","url":"https://api.github.com/users/jwoolston","html_url":"https://github.com/jwoolston","followers_url":"https://api.github.com/users/jwoolston/followers","following_url":"https://api.github.com/users/jwoolston/following{/other_user}","gists_url":"https://api.github.com/users/jwoolston/gists{/gist_id}","starred_url":"https://api.github.com/users/jwoolston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwoolston/subscriptions","organizations_url":"https://api.github.com/users/jwoolston/orgs","repos_url":"https://api.github.com/users/jwoolston/repos","events_url":"https://api.github.com/users/jwoolston/events{/privacy}","received_events_url":"https://api.github.com/users/jwoolston/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Rajawali/Rajawali/milestones/1","html_url":"https://github.com/Rajawali/Rajawali/milestones/v1.0,%20Anchor%20Steam","labels_url":"https://api.github.com/repos/Rajawali/Rajawali/milestones/1/labels","id":322716,"number":1,"title":"v1.0, Anchor Steam","description":"Awesome architectural adjustments.","creator":{"login":"jayschwa","id":475017,"avatar_url":"https://avatars.githubusercontent.com/u/475017?v=3","gravatar_id":"","url":"https://api.github.com/users/jayschwa","html_url":"https://github.com/jayschwa","followers_url":"https://api.github.com/users/jayschwa/followers","following_url":"https://api.github.com/users/jayschwa/following{/other_user}","gists_url":"https://api.github.com/users/jayschwa/gists{/gist_id}","starred_url":"https://api.github.com/users/jayschwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayschwa/subscriptions","organizations_url":"https://api.github.com/users/jayschwa/orgs","repos_url":"https://api.github.com/users/jayschwa/repos","events_url":"https://api.github.com/users/jayschwa/events{/privacy}","received_events_url":"https://api.github.com/users/jayschwa/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":101,"state":"open","created_at":"2013-04-29T01:24:30Z","updated_at":"2015-04-03T07:08:59Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2015-03-12T06:06:20Z","updated_at":"2015-04-03T07:08:59Z","closed_at":"2015-04-03T07:08:59Z","body":"@kiranpradeep discovered that the projection matrix of a camera is only set in `onSurfaceChanged()`. This is problematic when creating a new camera and switching without a surface change event. This needs to be corrected by updating the projection matrix during the camera switch: https://github.com/MasDennis/Rajawali/blob/master/rajawali/src/main/java/rajawali/scene/RajawaliScene.java#L720. "}}