{"action":"created","issue":{"url":"https://api.github.com/repos/Slicer/Slicer/issues/417","labels_url":"https://api.github.com/repos/Slicer/Slicer/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/Slicer/Slicer/issues/417/comments","events_url":"https://api.github.com/repos/Slicer/Slicer/issues/417/events","html_url":"https://github.com/Slicer/Slicer/pull/417","id":118065583,"number":417,"title":"BUG: Fixed volume rendering at incorrect position","user":{"login":"lassoan","id":307929,"avatar_url":"https://avatars.githubusercontent.com/u/307929?v=3","gravatar_id":"","url":"https://api.github.com/users/lassoan","html_url":"https://github.com/lassoan","followers_url":"https://api.github.com/users/lassoan/followers","following_url":"https://api.github.com/users/lassoan/following{/other_user}","gists_url":"https://api.github.com/users/lassoan/gists{/gist_id}","starred_url":"https://api.github.com/users/lassoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lassoan/subscriptions","organizations_url":"https://api.github.com/users/lassoan/orgs","repos_url":"https://api.github.com/users/lassoan/repos","events_url":"https://api.github.com/users/lassoan/events{/privacy}","received_events_url":"https://api.github.com/users/lassoan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-20T15:38:55Z","updated_at":"2015-11-20T16:22:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Slicer/Slicer/pulls/417","html_url":"https://github.com/Slicer/Slicer/pull/417","diff_url":"https://github.com/Slicer/Slicer/pull/417.diff","patch_url":"https://github.com/Slicer/Slicer/pull/417.patch"},"body":"Modification of any transforms applied on any volume may alter location where volume rendering appears.\r\n\r\nHow to reproduce:\r\n* Load MRHead sample (MRHead)\r\n* Load MRHead sample (MRHead_1)\r\n* Apply a new linear transform (LinearTransform_3) to MRHead\r\n* Go to Volume Rendering module\r\n* Switch to MRHead_1, show volume rendering\r\n=> volume rendering of MRHead_1 is displayed\r\n* Go to transforms module\r\n* Modify LinearTransform_3\r\n=> ERROR: volume rendering of MRHead_1 moves on the image (while the transform is only applied to MRHead)\r\n* Slightly rotate the 3D view\r\n=> volume rendering of MRHead_1 jumps (back to the location where it should be)\r\n\r\nProblem root cause: vtkMRMLVolumeRenderingDisplayableManager observes all TransformModifiedEvent changes and updates the position of the current volume based on that (even if not the current volume's transform is changed)\r\n\r\nSolution: ignore transform modified changes if not the current volume's transform is modified"},"comment":{"url":"https://api.github.com/repos/Slicer/Slicer/issues/comments/158449614","html_url":"https://github.com/Slicer/Slicer/pull/417#issuecomment-158449614","issue_url":"https://api.github.com/repos/Slicer/Slicer/issues/417","id":158449614,"user":{"login":"pieper","id":126077,"avatar_url":"https://avatars.githubusercontent.com/u/126077?v=3","gravatar_id":"","url":"https://api.github.com/users/pieper","html_url":"https://github.com/pieper","followers_url":"https://api.github.com/users/pieper/followers","following_url":"https://api.github.com/users/pieper/following{/other_user}","gists_url":"https://api.github.com/users/pieper/gists{/gist_id}","starred_url":"https://api.github.com/users/pieper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieper/subscriptions","organizations_url":"https://api.github.com/users/pieper/orgs","repos_url":"https://api.github.com/users/pieper/repos","events_url":"https://api.github.com/users/pieper/events{/privacy}","received_events_url":"https://api.github.com/users/pieper/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T16:22:27Z","updated_at":"2015-11-20T16:22:27Z","body":"+1!\n\nOn Fri, Nov 20, 2015 at 10:42 AM, Andrey Fedorov <notifications@github.com>\nwrote:\n\n> [image: :+1:] !\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Slicer/Slicer/pull/417#issuecomment-158436689>.\n>\n"}}