{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/43192471","id":43192471,"diff_hunk":"@@ -156,7 +241,13 @@ m2::RectD SquareHandle::GetPixelRect(ScreenBase const & screen) const\n void SquareHandle::GetPixelShape(ScreenBase const & screen, Rects & rects) const\n {\n   m2::RectD rd = GetPixelRect(screen);\n-  rects.push_back(m2::RectF(rd.minX(), rd.minY(), rd.maxX(), rd.maxY()));\n+  rects.emplace_back(rd);\n+}\n+\n+void SquareHandle::GetPixelShapePerspective(ScreenBase const & screen, Rects & rects) const\n+{\n+  m2::RectD rd = base_t::GetPixelRectPerspective(screen);","path":"drape/overlay_handle.cpp","position":145,"original_position":145,"commit_id":"fb01b0f48d7d60a0fbe8938ad46bed080eef7627","original_commit_id":"fb01b0f48d7d60a0fbe8938ad46bed080eef7627","user":{"login":"deathbaba","id":170263,"avatar_url":"https://avatars.githubusercontent.com/u/170263?v=3","gravatar_id":"","url":"https://api.github.com/users/deathbaba","html_url":"https://github.com/deathbaba","followers_url":"https://api.github.com/users/deathbaba/followers","following_url":"https://api.github.com/users/deathbaba/following{/other_user}","gists_url":"https://api.github.com/users/deathbaba/gists{/gist_id}","starred_url":"https://api.github.com/users/deathbaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathbaba/subscriptions","organizations_url":"https://api.github.com/users/deathbaba/orgs","repos_url":"https://api.github.com/users/deathbaba/repos","events_url":"https://api.github.com/users/deathbaba/events{/privacy}","received_events_url":"https://api.github.com/users/deathbaba/received_events","type":"User","site_admin":false},"body":"const! )","created_at":"2015-10-27T21:47:59Z","updated_at":"2015-10-27T21:47:59Z","html_url":"https://github.com/mapsme/omim/pull/387#discussion_r43192471","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/387","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/43192471"},"html":{"href":"https://github.com/mapsme/omim/pull/387#discussion_r43192471"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/387"}}},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/387","id":48753380,"html_url":"https://github.com/mapsme/omim/pull/387","diff_url":"https://github.com/mapsme/omim/pull/387.diff","patch_url":"https://github.com/mapsme/omim/pull/387.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/387","number":387,"state":"open","locked":false,"title":"[drape] Drape 3d first iteration","user":{"login":"darina","id":1092934,"avatar_url":"https://avatars.githubusercontent.com/u/1092934?v=3","gravatar_id":"","url":"https://api.github.com/users/darina","html_url":"https://github.com/darina","followers_url":"https://api.github.com/users/darina/followers","following_url":"https://api.github.com/users/darina/following{/other_user}","gists_url":"https://api.github.com/users/darina/gists{/gist_id}","starred_url":"https://api.github.com/users/darina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darina/subscriptions","organizations_url":"https://api.github.com/users/darina/orgs","repos_url":"https://api.github.com/users/darina/repos","events_url":"https://api.github.com/users/darina/events{/privacy}","received_events_url":"https://api.github.com/users/darina/received_events","type":"User","site_admin":false},"body":"Первая итерация перспективного вида. Включение и выключение через поисковые запросы \"?3d\" и \"?2d\".","created_at":"2015-10-26T15:23:15Z","updated_at":"2015-10-27T21:47:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"409a7f377ff3ee9861af4b48297fffdd93cb9747","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/387/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/387/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/387/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/fb01b0f48d7d60a0fbe8938ad46bed080eef7627","head":{"label":"darina:drape-3d-first-iteration","ref":"drape-3d-first-iteration","sha":"fb01b0f48d7d60a0fbe8938ad46bed080eef7627","user":{"login":"darina","id":1092934,"avatar_url":"https://avatars.githubusercontent.com/u/1092934?v=3","gravatar_id":"","url":"https://api.github.com/users/darina","html_url":"https://github.com/darina","followers_url":"https://api.github.com/users/darina/followers","following_url":"https://api.github.com/users/darina/following{/other_user}","gists_url":"https://api.github.com/users/darina/gists{/gist_id}","starred_url":"https://api.github.com/users/darina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darina/subscriptions","organizations_url":"https://api.github.com/users/darina/orgs","repos_url":"https://api.github.com/users/darina/repos","events_url":"https://api.github.com/users/darina/events{/privacy}","received_events_url":"https://api.github.com/users/darina/received_events","type":"User","site_admin":false},"repo":{"id":43497440,"name":"omim","full_name":"darina/omim","owner":{"login":"darina","id":1092934,"avatar_url":"https://avatars.githubusercontent.com/u/1092934?v=3","gravatar_id":"","url":"https://api.github.com/users/darina","html_url":"https://github.com/darina","followers_url":"https://api.github.com/users/darina/followers","following_url":"https://api.github.com/users/darina/following{/other_user}","gists_url":"https://api.github.com/users/darina/gists{/gist_id}","starred_url":"https://api.github.com/users/darina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darina/subscriptions","organizations_url":"https://api.github.com/users/darina/orgs","repos_url":"https://api.github.com/users/darina/repos","events_url":"https://api.github.com/users/darina/events{/privacy}","received_events_url":"https://api.github.com/users/darina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darina/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/darina/omim","forks_url":"https://api.github.com/repos/darina/omim/forks","keys_url":"https://api.github.com/repos/darina/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darina/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darina/omim/teams","hooks_url":"https://api.github.com/repos/darina/omim/hooks","issue_events_url":"https://api.github.com/repos/darina/omim/issues/events{/number}","events_url":"https://api.github.com/repos/darina/omim/events","assignees_url":"https://api.github.com/repos/darina/omim/assignees{/user}","branches_url":"https://api.github.com/repos/darina/omim/branches{/branch}","tags_url":"https://api.github.com/repos/darina/omim/tags","blobs_url":"https://api.github.com/repos/darina/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darina/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darina/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/darina/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darina/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/darina/omim/languages","stargazers_url":"https://api.github.com/repos/darina/omim/stargazers","contributors_url":"https://api.github.com/repos/darina/omim/contributors","subscribers_url":"https://api.github.com/repos/darina/omim/subscribers","subscription_url":"https://api.github.com/repos/darina/omim/subscription","commits_url":"https://api.github.com/repos/darina/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/darina/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/darina/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/darina/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/darina/omim/contents/{+path}","compare_url":"https://api.github.com/repos/darina/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darina/omim/merges","archive_url":"https://api.github.com/repos/darina/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darina/omim/downloads","issues_url":"https://api.github.com/repos/darina/omim/issues{/number}","pulls_url":"https://api.github.com/repos/darina/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/darina/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/darina/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darina/omim/labels{/name}","releases_url":"https://api.github.com/repos/darina/omim/releases{/id}","created_at":"2015-10-01T13:18:35Z","updated_at":"2015-10-01T13:20:51Z","pushed_at":"2015-10-27T15:26:52Z","git_url":"git://github.com/darina/omim.git","ssh_url":"git@github.com:darina/omim.git","clone_url":"https://github.com/darina/omim.git","svn_url":"https://github.com/darina/omim","homepage":null,"size":1793201,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mapsme:drape-3d","ref":"drape-3d","sha":"839bf815f4c0f836fbbb57bb278f65dc110e21b2","user":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars.githubusercontent.com/u/14185141?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"repo":{"id":42798033,"name":"omim","full_name":"mapsme/omim","owner":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars.githubusercontent.com/u/14185141?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapsme/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":false,"url":"https://api.github.com/repos/mapsme/omim","forks_url":"https://api.github.com/repos/mapsme/omim/forks","keys_url":"https://api.github.com/repos/mapsme/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapsme/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapsme/omim/teams","hooks_url":"https://api.github.com/repos/mapsme/omim/hooks","issue_events_url":"https://api.github.com/repos/mapsme/omim/issues/events{/number}","events_url":"https://api.github.com/repos/mapsme/omim/events","assignees_url":"https://api.github.com/repos/mapsme/omim/assignees{/user}","branches_url":"https://api.github.com/repos/mapsme/omim/branches{/branch}","tags_url":"https://api.github.com/repos/mapsme/omim/tags","blobs_url":"https://api.github.com/repos/mapsme/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapsme/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapsme/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapsme/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/mapsme/omim/languages","stargazers_url":"https://api.github.com/repos/mapsme/omim/stargazers","contributors_url":"https://api.github.com/repos/mapsme/omim/contributors","subscribers_url":"https://api.github.com/repos/mapsme/omim/subscribers","subscription_url":"https://api.github.com/repos/mapsme/omim/subscription","commits_url":"https://api.github.com/repos/mapsme/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapsme/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapsme/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapsme/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapsme/omim/contents/{+path}","compare_url":"https://api.github.com/repos/mapsme/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapsme/omim/merges","archive_url":"https://api.github.com/repos/mapsme/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapsme/omim/downloads","issues_url":"https://api.github.com/repos/mapsme/omim/issues{/number}","pulls_url":"https://api.github.com/repos/mapsme/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/mapsme/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/mapsme/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapsme/omim/labels{/name}","releases_url":"https://api.github.com/repos/mapsme/omim/releases{/id}","created_at":"2015-09-20T02:57:13Z","updated_at":"2015-10-27T17:16:01Z","pushed_at":"2015-10-27T19:27:05Z","git_url":"git://github.com/mapsme/omim.git","ssh_url":"git@github.com:mapsme/omim.git","clone_url":"https://github.com/mapsme/omim.git","svn_url":"https://github.com/mapsme/omim","homepage":null,"size":1830591,"stargazers_count":1422,"watchers_count":1422,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":151,"mirror_url":null,"open_issues_count":44,"forks":151,"open_issues":44,"watchers":1422,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/387"},"html":{"href":"https://github.com/mapsme/omim/pull/387"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/387"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/387/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/387/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/387/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/fb01b0f48d7d60a0fbe8938ad46bed080eef7627"}}}}