{"action":"created","comment":{"url":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/comments/36832139","id":36832139,"diff_hunk":"@@ -28,10 +28,12 @@ BoundingBox::~BoundingBox()\n \n void BoundingBox::updateRect(BoundingBoxPoint::TranslationDirection ignoredDirection)\n {\n-    QRectF boundingRect = mParentSketchItem->getGraphicsItem()->boundingRect();\n-    qreal marginAdjust = 10;\n+    QRectF boundingRect = mParentSketchItem->getBounds();\n+\n+    // Uncomment that if you want a margin on boundingbox\n+    //qreal marginAdjust = 10;\n     //boundingRect.adjust(-marginAdjust, -marginAdjust, marginAdjust, marginAdjust);\n-    setRect(boundingRect);\n+    //setRect(boundingRect);","path":"src/model/BoundingBox.cpp","position":12,"original_position":12,"commit_id":"39b025af179baad074972bedcbc3536b8d915dd2","original_commit_id":"39b025af179baad074972bedcbc3536b8d915dd2","user":{"login":"synapticvoid","id":3283773,"avatar_url":"https://avatars.githubusercontent.com/u/3283773?v=3","gravatar_id":"","url":"https://api.github.com/users/synapticvoid","html_url":"https://github.com/synapticvoid","followers_url":"https://api.github.com/users/synapticvoid/followers","following_url":"https://api.github.com/users/synapticvoid/following{/other_user}","gists_url":"https://api.github.com/users/synapticvoid/gists{/gist_id}","starred_url":"https://api.github.com/users/synapticvoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapticvoid/subscriptions","organizations_url":"https://api.github.com/users/synapticvoid/orgs","repos_url":"https://api.github.com/users/synapticvoid/repos","events_url":"https://api.github.com/users/synapticvoid/events{/privacy}","received_events_url":"https://api.github.com/users/synapticvoid/received_events","type":"User","site_admin":false},"body":"I think we can safely delete these lines, it was there only to see bezier control points and bounding box control points at the same time!","created_at":"2015-08-12T07:15:40Z","updated_at":"2015-08-12T07:15:40Z","html_url":"https://github.com/neuronalmotion/blueprint/pull/53#discussion_r36832139","pull_request_url":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/comments/36832139"},"html":{"href":"https://github.com/neuronalmotion/blueprint/pull/53#discussion_r36832139"},"pull_request":{"href":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/53","id":42178998,"html_url":"https://github.com/neuronalmotion/blueprint/pull/53","diff_url":"https://github.com/neuronalmotion/blueprint/pull/53.diff","patch_url":"https://github.com/neuronalmotion/blueprint/pull/53.patch","issue_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/53","number":53,"state":"open","locked":false,"title":"Fix/bounding box origin rescaling","user":{"login":"GuillaumeLazar","id":7305456,"avatar_url":"https://avatars.githubusercontent.com/u/7305456?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeLazar","html_url":"https://github.com/GuillaumeLazar","followers_url":"https://api.github.com/users/GuillaumeLazar/followers","following_url":"https://api.github.com/users/GuillaumeLazar/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeLazar/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeLazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeLazar/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeLazar/orgs","repos_url":"https://api.github.com/users/GuillaumeLazar/repos","events_url":"https://api.github.com/users/GuillaumeLazar/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeLazar/received_events","type":"User","site_admin":false},"body":"Close #42 ","created_at":"2015-08-11T21:15:12Z","updated_at":"2015-08-12T07:15:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ae3ed37208a9868fb5e6c22d6a2cabcfb3441d9","assignee":{"login":"synapticvoid","id":3283773,"avatar_url":"https://avatars.githubusercontent.com/u/3283773?v=3","gravatar_id":"","url":"https://api.github.com/users/synapticvoid","html_url":"https://github.com/synapticvoid","followers_url":"https://api.github.com/users/synapticvoid/followers","following_url":"https://api.github.com/users/synapticvoid/following{/other_user}","gists_url":"https://api.github.com/users/synapticvoid/gists{/gist_id}","starred_url":"https://api.github.com/users/synapticvoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapticvoid/subscriptions","organizations_url":"https://api.github.com/users/synapticvoid/orgs","repos_url":"https://api.github.com/users/synapticvoid/repos","events_url":"https://api.github.com/users/synapticvoid/events{/privacy}","received_events_url":"https://api.github.com/users/synapticvoid/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/neuronalmotion/blueprint/milestones/4","html_url":"https://github.com/neuronalmotion/blueprint/milestones/v0.3","labels_url":"https://api.github.com/repos/neuronalmotion/blueprint/milestones/4/labels","id":1227455,"number":4,"title":"v0.3","description":"","creator":{"login":"GuillaumeLazar","id":7305456,"avatar_url":"https://avatars.githubusercontent.com/u/7305456?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeLazar","html_url":"https://github.com/GuillaumeLazar","followers_url":"https://api.github.com/users/GuillaumeLazar/followers","following_url":"https://api.github.com/users/GuillaumeLazar/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeLazar/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeLazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeLazar/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeLazar/orgs","repos_url":"https://api.github.com/users/GuillaumeLazar/repos","events_url":"https://api.github.com/users/GuillaumeLazar/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeLazar/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":7,"state":"open","created_at":"2015-07-27T13:31:30Z","updated_at":"2015-08-11T21:15:12Z","due_on":"2015-08-15T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/53/commits","review_comments_url":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/53/comments","review_comment_url":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/53/comments","statuses_url":"https://api.github.com/repos/neuronalmotion/blueprint/statuses/39b025af179baad074972bedcbc3536b8d915dd2","head":{"label":"neuronalmotion:fix/bounding-box-origin-rescaling","ref":"fix/bounding-box-origin-rescaling","sha":"39b025af179baad074972bedcbc3536b8d915dd2","user":{"login":"neuronalmotion","id":6802504,"avatar_url":"https://avatars.githubusercontent.com/u/6802504?v=3","gravatar_id":"","url":"https://api.github.com/users/neuronalmotion","html_url":"https://github.com/neuronalmotion","followers_url":"https://api.github.com/users/neuronalmotion/followers","following_url":"https://api.github.com/users/neuronalmotion/following{/other_user}","gists_url":"https://api.github.com/users/neuronalmotion/gists{/gist_id}","starred_url":"https://api.github.com/users/neuronalmotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neuronalmotion/subscriptions","organizations_url":"https://api.github.com/users/neuronalmotion/orgs","repos_url":"https://api.github.com/users/neuronalmotion/repos","events_url":"https://api.github.com/users/neuronalmotion/events{/privacy}","received_events_url":"https://api.github.com/users/neuronalmotion/received_events","type":"Organization","site_admin":false},"repo":{"id":37804460,"name":"blueprint","full_name":"neuronalmotion/blueprint","owner":{"login":"neuronalmotion","id":6802504,"avatar_url":"https://avatars.githubusercontent.com/u/6802504?v=3","gravatar_id":"","url":"https://api.github.com/users/neuronalmotion","html_url":"https://github.com/neuronalmotion","followers_url":"https://api.github.com/users/neuronalmotion/followers","following_url":"https://api.github.com/users/neuronalmotion/following{/other_user}","gists_url":"https://api.github.com/users/neuronalmotion/gists{/gist_id}","starred_url":"https://api.github.com/users/neuronalmotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neuronalmotion/subscriptions","organizations_url":"https://api.github.com/users/neuronalmotion/orgs","repos_url":"https://api.github.com/users/neuronalmotion/repos","events_url":"https://api.github.com/users/neuronalmotion/events{/privacy}","received_events_url":"https://api.github.com/users/neuronalmotion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neuronalmotion/blueprint","description":"A crossplatform mockup designer based on C++/Qt5.","fork":false,"url":"https://api.github.com/repos/neuronalmotion/blueprint","forks_url":"https://api.github.com/repos/neuronalmotion/blueprint/forks","keys_url":"https://api.github.com/repos/neuronalmotion/blueprint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neuronalmotion/blueprint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neuronalmotion/blueprint/teams","hooks_url":"https://api.github.com/repos/neuronalmotion/blueprint/hooks","issue_events_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/events{/number}","events_url":"https://api.github.com/repos/neuronalmotion/blueprint/events","assignees_url":"https://api.github.com/repos/neuronalmotion/blueprint/assignees{/user}","branches_url":"https://api.github.com/repos/neuronalmotion/blueprint/branches{/branch}","tags_url":"https://api.github.com/repos/neuronalmotion/blueprint/tags","blobs_url":"https://api.github.com/repos/neuronalmotion/blueprint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neuronalmotion/blueprint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neuronalmotion/blueprint/git/refs{/sha}","trees_url":"https://api.github.com/repos/neuronalmotion/blueprint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neuronalmotion/blueprint/statuses/{sha}","languages_url":"https://api.github.com/repos/neuronalmotion/blueprint/languages","stargazers_url":"https://api.github.com/repos/neuronalmotion/blueprint/stargazers","contributors_url":"https://api.github.com/repos/neuronalmotion/blueprint/contributors","subscribers_url":"https://api.github.com/repos/neuronalmotion/blueprint/subscribers","subscription_url":"https://api.github.com/repos/neuronalmotion/blueprint/subscription","commits_url":"https://api.github.com/repos/neuronalmotion/blueprint/commits{/sha}","git_commits_url":"https://api.github.com/repos/neuronalmotion/blueprint/git/commits{/sha}","comments_url":"https://api.github.com/repos/neuronalmotion/blueprint/comments{/number}","issue_comment_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/comments{/number}","contents_url":"https://api.github.com/repos/neuronalmotion/blueprint/contents/{+path}","compare_url":"https://api.github.com/repos/neuronalmotion/blueprint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neuronalmotion/blueprint/merges","archive_url":"https://api.github.com/repos/neuronalmotion/blueprint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neuronalmotion/blueprint/downloads","issues_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues{/number}","pulls_url":"https://api.github.com/repos/neuronalmotion/blueprint/pulls{/number}","milestones_url":"https://api.github.com/repos/neuronalmotion/blueprint/milestones{/number}","notifications_url":"https://api.github.com/repos/neuronalmotion/blueprint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neuronalmotion/blueprint/labels{/name}","releases_url":"https://api.github.com/repos/neuronalmotion/blueprint/releases{/id}","created_at":"2015-06-21T10:05:49Z","updated_at":"2015-07-17T12:30:29Z","pushed_at":"2015-08-11T21:15:12Z","git_url":"git://github.com/neuronalmotion/blueprint.git","ssh_url":"git@github.com:neuronalmotion/blueprint.git","clone_url":"https://github.com/neuronalmotion/blueprint.git","svn_url":"https://github.com/neuronalmotion/blueprint","homepage":null,"size":348,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":1,"default_branch":"develop"}},"base":{"label":"neuronalmotion:develop","ref":"develop","sha":"68da953b7053fbda9221fa50bb86f3aa626cc06d","user":{"login":"neuronalmotion","id":6802504,"avatar_url":"https://avatars.githubusercontent.com/u/6802504?v=3","gravatar_id":"","url":"https://api.github.com/users/neuronalmotion","html_url":"https://github.com/neuronalmotion","followers_url":"https://api.github.com/users/neuronalmotion/followers","following_url":"https://api.github.com/users/neuronalmotion/following{/other_user}","gists_url":"https://api.github.com/users/neuronalmotion/gists{/gist_id}","starred_url":"https://api.github.com/users/neuronalmotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neuronalmotion/subscriptions","organizations_url":"https://api.github.com/users/neuronalmotion/orgs","repos_url":"https://api.github.com/users/neuronalmotion/repos","events_url":"https://api.github.com/users/neuronalmotion/events{/privacy}","received_events_url":"https://api.github.com/users/neuronalmotion/received_events","type":"Organization","site_admin":false},"repo":{"id":37804460,"name":"blueprint","full_name":"neuronalmotion/blueprint","owner":{"login":"neuronalmotion","id":6802504,"avatar_url":"https://avatars.githubusercontent.com/u/6802504?v=3","gravatar_id":"","url":"https://api.github.com/users/neuronalmotion","html_url":"https://github.com/neuronalmotion","followers_url":"https://api.github.com/users/neuronalmotion/followers","following_url":"https://api.github.com/users/neuronalmotion/following{/other_user}","gists_url":"https://api.github.com/users/neuronalmotion/gists{/gist_id}","starred_url":"https://api.github.com/users/neuronalmotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neuronalmotion/subscriptions","organizations_url":"https://api.github.com/users/neuronalmotion/orgs","repos_url":"https://api.github.com/users/neuronalmotion/repos","events_url":"https://api.github.com/users/neuronalmotion/events{/privacy}","received_events_url":"https://api.github.com/users/neuronalmotion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neuronalmotion/blueprint","description":"A crossplatform mockup designer based on C++/Qt5.","fork":false,"url":"https://api.github.com/repos/neuronalmotion/blueprint","forks_url":"https://api.github.com/repos/neuronalmotion/blueprint/forks","keys_url":"https://api.github.com/repos/neuronalmotion/blueprint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neuronalmotion/blueprint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neuronalmotion/blueprint/teams","hooks_url":"https://api.github.com/repos/neuronalmotion/blueprint/hooks","issue_events_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/events{/number}","events_url":"https://api.github.com/repos/neuronalmotion/blueprint/events","assignees_url":"https://api.github.com/repos/neuronalmotion/blueprint/assignees{/user}","branches_url":"https://api.github.com/repos/neuronalmotion/blueprint/branches{/branch}","tags_url":"https://api.github.com/repos/neuronalmotion/blueprint/tags","blobs_url":"https://api.github.com/repos/neuronalmotion/blueprint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neuronalmotion/blueprint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neuronalmotion/blueprint/git/refs{/sha}","trees_url":"https://api.github.com/repos/neuronalmotion/blueprint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neuronalmotion/blueprint/statuses/{sha}","languages_url":"https://api.github.com/repos/neuronalmotion/blueprint/languages","stargazers_url":"https://api.github.com/repos/neuronalmotion/blueprint/stargazers","contributors_url":"https://api.github.com/repos/neuronalmotion/blueprint/contributors","subscribers_url":"https://api.github.com/repos/neuronalmotion/blueprint/subscribers","subscription_url":"https://api.github.com/repos/neuronalmotion/blueprint/subscription","commits_url":"https://api.github.com/repos/neuronalmotion/blueprint/commits{/sha}","git_commits_url":"https://api.github.com/repos/neuronalmotion/blueprint/git/commits{/sha}","comments_url":"https://api.github.com/repos/neuronalmotion/blueprint/comments{/number}","issue_comment_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/comments{/number}","contents_url":"https://api.github.com/repos/neuronalmotion/blueprint/contents/{+path}","compare_url":"https://api.github.com/repos/neuronalmotion/blueprint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neuronalmotion/blueprint/merges","archive_url":"https://api.github.com/repos/neuronalmotion/blueprint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neuronalmotion/blueprint/downloads","issues_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues{/number}","pulls_url":"https://api.github.com/repos/neuronalmotion/blueprint/pulls{/number}","milestones_url":"https://api.github.com/repos/neuronalmotion/blueprint/milestones{/number}","notifications_url":"https://api.github.com/repos/neuronalmotion/blueprint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neuronalmotion/blueprint/labels{/name}","releases_url":"https://api.github.com/repos/neuronalmotion/blueprint/releases{/id}","created_at":"2015-06-21T10:05:49Z","updated_at":"2015-07-17T12:30:29Z","pushed_at":"2015-08-11T21:15:12Z","git_url":"git://github.com/neuronalmotion/blueprint.git","ssh_url":"git@github.com:neuronalmotion/blueprint.git","clone_url":"https://github.com/neuronalmotion/blueprint.git","svn_url":"https://github.com/neuronalmotion/blueprint","homepage":null,"size":348,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/53"},"html":{"href":"https://github.com/neuronalmotion/blueprint/pull/53"},"issue":{"href":"https://api.github.com/repos/neuronalmotion/blueprint/issues/53"},"comments":{"href":"https://api.github.com/repos/neuronalmotion/blueprint/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neuronalmotion/blueprint/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/neuronalmotion/blueprint/statuses/39b025af179baad074972bedcbc3536b8d915dd2"}}}}