{"action":"closed","issue":{"url":"https://api.github.com/repos/Mista-Tea/improved-stacker/issues/16","repository_url":"https://api.github.com/repos/Mista-Tea/improved-stacker","labels_url":"https://api.github.com/repos/Mista-Tea/improved-stacker/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Mista-Tea/improved-stacker/issues/16/comments","events_url":"https://api.github.com/repos/Mista-Tea/improved-stacker/issues/16/events","html_url":"https://github.com/Mista-Tea/improved-stacker/issues/16","id":159924302,"number":16,"title":"Stacker uses the base angle when stacking relative to \"prop\"","user":{"login":"dvdvideo1234","id":9112662,"avatar_url":"https://avatars.githubusercontent.com/u/9112662?v=3","gravatar_id":"","url":"https://api.github.com/users/dvdvideo1234","html_url":"https://github.com/dvdvideo1234","followers_url":"https://api.github.com/users/dvdvideo1234/followers","following_url":"https://api.github.com/users/dvdvideo1234/following{/other_user}","gists_url":"https://api.github.com/users/dvdvideo1234/gists{/gist_id}","starred_url":"https://api.github.com/users/dvdvideo1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvdvideo1234/subscriptions","organizations_url":"https://api.github.com/users/dvdvideo1234/orgs","repos_url":"https://api.github.com/users/dvdvideo1234/repos","events_url":"https://api.github.com/users/dvdvideo1234/events{/privacy}","received_events_url":"https://api.github.com/users/dvdvideo1234/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Mista-Tea/improved-stacker/labels/not%20a%20bug","name":"not a bug","color":"0e8a16"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-13T11:00:42Z","updated_at":"2016-08-02T05:18:05Z","closed_at":"2016-08-02T05:18:05Z","body":"For example when you chose \"Stack relative to prop\" and set a little bit of pitch a circular stacking is expected, however this does not happen, as the position is not incremented with the delta in every stack:\r\n\r\nhttps://drive.google.com/file/d/0B6vgydhudtoAUjR3aHZUN2w0Sm8/view?usp=sharing\r\n\r\nAs you can see the first ghosted car is ok, but the second has missing some Z offset.\r\n\r\nI think this piece of code in \"TOOL:LeftClick(Trace)\" has to be adjusted a little:\r\n```\r\n\t\tif ( i == 1 or ( mode == MODE_PROP and stackRelative ) ) then\r\n\t\t\tstackdir, height, thisoffset = self:StackerCalcPos( lastEnt, mode, dir, offset )\r\n\t\tend\r\n\t\t\r\n\t\tentPos = entPos + stackdir * height + thisoffset\r\nentAng = entAng + rotate\r\n```\r\nAs well as in the ghosting inside the function \"function TOOL:StackerCalcPos( ent, mode, dir, offset )\"\r\nProbably the variable \"thisoffset\" ( row 980 ) is not calculated correctly.\r\n\r\n\r\n"}}
{"actor":{"display_login":"Mista-Tea"}}