{"action":"created","issue":{"url":"https://api.github.com/repos/LibreCAD/LibreCAD/issues/823","repository_url":"https://api.github.com/repos/LibreCAD/LibreCAD","labels_url":"https://api.github.com/repos/LibreCAD/LibreCAD/issues/823/labels{/name}","comments_url":"https://api.github.com/repos/LibreCAD/LibreCAD/issues/823/comments","events_url":"https://api.github.com/repos/LibreCAD/LibreCAD/issues/823/events","html_url":"https://github.com/LibreCAD/LibreCAD/issues/823","id":180483437,"number":823,"title":"Mirror of blocks causes them to be offset","user":{"login":"MPForsyth","id":8539003,"avatar_url":"https://avatars.githubusercontent.com/u/8539003?v=3","gravatar_id":"","url":"https://api.github.com/users/MPForsyth","html_url":"https://github.com/MPForsyth","followers_url":"https://api.github.com/users/MPForsyth/followers","following_url":"https://api.github.com/users/MPForsyth/following{/other_user}","gists_url":"https://api.github.com/users/MPForsyth/gists{/gist_id}","starred_url":"https://api.github.com/users/MPForsyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MPForsyth/subscriptions","organizations_url":"https://api.github.com/users/MPForsyth/orgs","repos_url":"https://api.github.com/users/MPForsyth/repos","events_url":"https://api.github.com/users/MPForsyth/events{/privacy}","received_events_url":"https://api.github.com/users/MPForsyth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LibreCAD/LibreCAD/labels/bug","name":"bug","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"lordofbikes","id":386273,"avatar_url":"https://avatars.githubusercontent.com/u/386273?v=3","gravatar_id":"","url":"https://api.github.com/users/lordofbikes","html_url":"https://github.com/lordofbikes","followers_url":"https://api.github.com/users/lordofbikes/followers","following_url":"https://api.github.com/users/lordofbikes/following{/other_user}","gists_url":"https://api.github.com/users/lordofbikes/gists{/gist_id}","starred_url":"https://api.github.com/users/lordofbikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordofbikes/subscriptions","organizations_url":"https://api.github.com/users/lordofbikes/orgs","repos_url":"https://api.github.com/users/lordofbikes/repos","events_url":"https://api.github.com/users/lordofbikes/events{/privacy}","received_events_url":"https://api.github.com/users/lordofbikes/received_events","type":"User","site_admin":false},"assignees":[{"login":"lordofbikes","id":386273,"avatar_url":"https://avatars.githubusercontent.com/u/386273?v=3","gravatar_id":"","url":"https://api.github.com/users/lordofbikes","html_url":"https://github.com/lordofbikes","followers_url":"https://api.github.com/users/lordofbikes/followers","following_url":"https://api.github.com/users/lordofbikes/following{/other_user}","gists_url":"https://api.github.com/users/lordofbikes/gists{/gist_id}","starred_url":"https://api.github.com/users/lordofbikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordofbikes/subscriptions","organizations_url":"https://api.github.com/users/lordofbikes/orgs","repos_url":"https://api.github.com/users/lordofbikes/repos","events_url":"https://api.github.com/users/lordofbikes/events{/privacy}","received_events_url":"https://api.github.com/users/lordofbikes/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-10-01T22:18:46Z","updated_at":"2016-10-09T19:37:26Z","closed_at":null,"body":"On mirroring some blocks (in this case 2x4 blocks from lower to upper wall) using the midpoint of lines LibreCAD shows them in the correct position until I klick on the second mirror point.  After the dialog box\r\n[chicken-house.dxf.zip](https://github.com/LibreCAD/LibreCAD/files/504695/chicken-house.dxf.zip)\r\n\r\n they are offset.\r\nI tried to duplicate on a simple drawing but was not able to do so.\r\nAttached is the drawing where it happens. \r\nVersion: master\r\nSCM Revision: 2.0.8\r\nCompiler: GNU GCC 5.2.1\r\nQt Version: 4.8.6\r\nCompiled on: Mar 16 2016"},"comment":{"url":"https://api.github.com/repos/LibreCAD/LibreCAD/issues/comments/252507406","html_url":"https://github.com/LibreCAD/LibreCAD/issues/823#issuecomment-252507406","issue_url":"https://api.github.com/repos/LibreCAD/LibreCAD/issues/823","id":252507406,"user":{"login":"lordofbikes","id":386273,"avatar_url":"https://avatars.githubusercontent.com/u/386273?v=3","gravatar_id":"","url":"https://api.github.com/users/lordofbikes","html_url":"https://github.com/lordofbikes","followers_url":"https://api.github.com/users/lordofbikes/followers","following_url":"https://api.github.com/users/lordofbikes/following{/other_user}","gists_url":"https://api.github.com/users/lordofbikes/gists{/gist_id}","starred_url":"https://api.github.com/users/lordofbikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordofbikes/subscriptions","organizations_url":"https://api.github.com/users/lordofbikes/orgs","repos_url":"https://api.github.com/users/lordofbikes/repos","events_url":"https://api.github.com/users/lordofbikes/events{/privacy}","received_events_url":"https://api.github.com/users/lordofbikes/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T19:37:26Z","updated_at":"2016-10-09T19:37:26Z","body":"I've found the source for this bug. It's a bit tricky and I'm not sure if I can provide a solution quickly.\r\n\r\nMirroring works generally for inserts. But your block `2x4r` is a rotated version of block `2x4`.\r\nAnd this is, where the bug comes in. Mirroring a block inside a block fails.\r\n\r\nFor your drawing you can easily work around by modifying block `2x4r`. Delete the inserted block `2x4` in `2x4r` and draw the rect in the block by 4 single lines or a rectangle. Then mirroring the `2x4r` block should work too.\r\n\r\n"}}
{"actor":{"display_login":"lordofbikes"}}