{"action":"created","comment":{"url":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/comments/42896498","id":42896498,"diff_hunk":"@@ -1134,6 +1134,27 @@\n         \n         return hasZeroBounds(this._getContentBounds(component.document.layers));\n     };\n+\n+    /**\n+     * checks to see if there is any complex mask applied to any of the layerGroup. \n+     * Complex Mask is defined as : \n+     * (1) Bitmap masks with extendWithWhite Property (Photoshop>Layers>Layer Mask>Hide Selection)\n+     * (2) Vector masks or Bitmap Mask with zero bounds.(Layer Mask>Hide All or Vector Mask>Hide All)\n+     * @private\n+     * @param {!Component} component \n+     */\n+    PixmapRenderer.prototype._componentHasComplexMasks = function (component) {\n+        var layerGroupHasComplexMasks = function (layer) {\n+            return layer.layers &&\n+                    (layer.mask && layer.mask.enabled && layer.mask.extendWithWhite) ||\n+                    ((layer.mask || layer.path) && !layer.getTotalMaskBounds());","path":"lib/renderer.js","position":17,"original_position":17,"commit_id":"d02b0ec5e329592a0dca2f6b6393f9130a7cfbae","original_commit_id":"d02b0ec5e329592a0dca2f6b6393f9130a7cfbae","user":{"login":"redmunds","id":1197144,"avatar_url":"https://avatars.githubusercontent.com/u/1197144?v=3","gravatar_id":"","url":"https://api.github.com/users/redmunds","html_url":"https://github.com/redmunds","followers_url":"https://api.github.com/users/redmunds/followers","following_url":"https://api.github.com/users/redmunds/following{/other_user}","gists_url":"https://api.github.com/users/redmunds/gists{/gist_id}","starred_url":"https://api.github.com/users/redmunds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmunds/subscriptions","organizations_url":"https://api.github.com/users/redmunds/orgs","repos_url":"https://api.github.com/users/redmunds/repos","events_url":"https://api.github.com/users/redmunds/events{/privacy}","received_events_url":"https://api.github.com/users/redmunds/received_events","type":"User","site_admin":false},"body":"Fix grouping (ask discussed in Slack)","created_at":"2015-10-23T18:14:02Z","updated_at":"2015-10-23T18:14:02Z","html_url":"https://github.com/adobe-photoshop/generator-assets/pull/376#discussion_r42896498","pull_request_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/376","_links":{"self":{"href":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/comments/42896498"},"html":{"href":"https://github.com/adobe-photoshop/generator-assets/pull/376#discussion_r42896498"},"pull_request":{"href":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/376"}}},"pull_request":{"url":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/376","id":48606272,"html_url":"https://github.com/adobe-photoshop/generator-assets/pull/376","diff_url":"https://github.com/adobe-photoshop/generator-assets/pull/376.diff","patch_url":"https://github.com/adobe-photoshop/generator-assets/pull/376.patch","issue_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/376","number":376,"state":"open","locked":false,"title":"Adding support of handling complex masks applied to Layer group.","user":{"login":"swap-null","id":14880349,"avatar_url":"https://avatars.githubusercontent.com/u/14880349?v=3","gravatar_id":"","url":"https://api.github.com/users/swap-null","html_url":"https://github.com/swap-null","followers_url":"https://api.github.com/users/swap-null/followers","following_url":"https://api.github.com/users/swap-null/following{/other_user}","gists_url":"https://api.github.com/users/swap-null/gists{/gist_id}","starred_url":"https://api.github.com/users/swap-null/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swap-null/subscriptions","organizations_url":"https://api.github.com/users/swap-null/orgs","repos_url":"https://api.github.com/users/swap-null/repos","events_url":"https://api.github.com/users/swap-null/events{/privacy}","received_events_url":"https://api.github.com/users/swap-null/received_events","type":"User","site_admin":false},"body":"If fixes the bug : Quick Export Not Respecting Document Boundaries (file with layer mask) - 4019840\r\n\r\n\r\n","created_at":"2015-10-23T17:19:31Z","updated_at":"2015-10-23T18:14:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75b1b1df2031f343bfe9106cfdf3551c7d6158bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/376/commits","review_comments_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/376/comments","review_comment_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/376/comments","statuses_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/statuses/d02b0ec5e329592a0dca2f6b6393f9130a7cfbae","head":{"label":"adobe-photoshop:swap-null/add-complex-mask-handling","ref":"swap-null/add-complex-mask-handling","sha":"d02b0ec5e329592a0dca2f6b6393f9130a7cfbae","user":{"login":"adobe-photoshop","id":4542585,"avatar_url":"https://avatars.githubusercontent.com/u/4542585?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-photoshop","html_url":"https://github.com/adobe-photoshop","followers_url":"https://api.github.com/users/adobe-photoshop/followers","following_url":"https://api.github.com/users/adobe-photoshop/following{/other_user}","gists_url":"https://api.github.com/users/adobe-photoshop/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-photoshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-photoshop/subscriptions","organizations_url":"https://api.github.com/users/adobe-photoshop/orgs","repos_url":"https://api.github.com/users/adobe-photoshop/repos","events_url":"https://api.github.com/users/adobe-photoshop/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-photoshop/received_events","type":"Organization","site_admin":false},"repo":{"id":10321036,"name":"generator-assets","full_name":"adobe-photoshop/generator-assets","owner":{"login":"adobe-photoshop","id":4542585,"avatar_url":"https://avatars.githubusercontent.com/u/4542585?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-photoshop","html_url":"https://github.com/adobe-photoshop","followers_url":"https://api.github.com/users/adobe-photoshop/followers","following_url":"https://api.github.com/users/adobe-photoshop/following{/other_user}","gists_url":"https://api.github.com/users/adobe-photoshop/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-photoshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-photoshop/subscriptions","organizations_url":"https://api.github.com/users/adobe-photoshop/orgs","repos_url":"https://api.github.com/users/adobe-photoshop/repos","events_url":"https://api.github.com/users/adobe-photoshop/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-photoshop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adobe-photoshop/generator-assets","description":"Generator Plug-in for Adobe Photoshop CC that helps users export image assets","fork":false,"url":"https://api.github.com/repos/adobe-photoshop/generator-assets","forks_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/forks","keys_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/teams","hooks_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/hooks","issue_events_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/events{/number}","events_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/events","assignees_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/assignees{/user}","branches_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/branches{/branch}","tags_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/tags","blobs_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/languages","stargazers_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/stargazers","contributors_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/contributors","subscribers_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/subscribers","subscription_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/subscription","commits_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/comments{/number}","contents_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/contents/{+path}","compare_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/merges","archive_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/downloads","issues_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues{/number}","pulls_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/labels{/name}","releases_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/releases{/id}","created_at":"2013-05-27T19:18:04Z","updated_at":"2015-10-21T13:32:57Z","pushed_at":"2015-10-23T17:49:19Z","git_url":"git://github.com/adobe-photoshop/generator-assets.git","ssh_url":"git@github.com:adobe-photoshop/generator-assets.git","clone_url":"https://github.com/adobe-photoshop/generator-assets.git","svn_url":"https://github.com/adobe-photoshop/generator-assets","homepage":"","size":10276,"stargazers_count":340,"watchers_count":340,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":62,"forks":52,"open_issues":62,"watchers":340,"default_branch":"master"}},"base":{"label":"adobe-photoshop:master","ref":"master","sha":"d5cf50033092e6b13c83064fca31f533e4aee377","user":{"login":"adobe-photoshop","id":4542585,"avatar_url":"https://avatars.githubusercontent.com/u/4542585?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-photoshop","html_url":"https://github.com/adobe-photoshop","followers_url":"https://api.github.com/users/adobe-photoshop/followers","following_url":"https://api.github.com/users/adobe-photoshop/following{/other_user}","gists_url":"https://api.github.com/users/adobe-photoshop/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-photoshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-photoshop/subscriptions","organizations_url":"https://api.github.com/users/adobe-photoshop/orgs","repos_url":"https://api.github.com/users/adobe-photoshop/repos","events_url":"https://api.github.com/users/adobe-photoshop/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-photoshop/received_events","type":"Organization","site_admin":false},"repo":{"id":10321036,"name":"generator-assets","full_name":"adobe-photoshop/generator-assets","owner":{"login":"adobe-photoshop","id":4542585,"avatar_url":"https://avatars.githubusercontent.com/u/4542585?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-photoshop","html_url":"https://github.com/adobe-photoshop","followers_url":"https://api.github.com/users/adobe-photoshop/followers","following_url":"https://api.github.com/users/adobe-photoshop/following{/other_user}","gists_url":"https://api.github.com/users/adobe-photoshop/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-photoshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-photoshop/subscriptions","organizations_url":"https://api.github.com/users/adobe-photoshop/orgs","repos_url":"https://api.github.com/users/adobe-photoshop/repos","events_url":"https://api.github.com/users/adobe-photoshop/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-photoshop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adobe-photoshop/generator-assets","description":"Generator Plug-in for Adobe Photoshop CC that helps users export image assets","fork":false,"url":"https://api.github.com/repos/adobe-photoshop/generator-assets","forks_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/forks","keys_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/teams","hooks_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/hooks","issue_events_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/events{/number}","events_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/events","assignees_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/assignees{/user}","branches_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/branches{/branch}","tags_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/tags","blobs_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/languages","stargazers_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/stargazers","contributors_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/contributors","subscribers_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/subscribers","subscription_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/subscription","commits_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/comments{/number}","contents_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/contents/{+path}","compare_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/merges","archive_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/downloads","issues_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues{/number}","pulls_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/labels{/name}","releases_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/releases{/id}","created_at":"2013-05-27T19:18:04Z","updated_at":"2015-10-21T13:32:57Z","pushed_at":"2015-10-23T17:49:19Z","git_url":"git://github.com/adobe-photoshop/generator-assets.git","ssh_url":"git@github.com:adobe-photoshop/generator-assets.git","clone_url":"https://github.com/adobe-photoshop/generator-assets.git","svn_url":"https://github.com/adobe-photoshop/generator-assets","homepage":"","size":10276,"stargazers_count":340,"watchers_count":340,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":62,"forks":52,"open_issues":62,"watchers":340,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/376"},"html":{"href":"https://github.com/adobe-photoshop/generator-assets/pull/376"},"issue":{"href":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/376"},"comments":{"href":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/376/comments"},"review_comments":{"href":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/376/comments"},"review_comment":{"href":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/376/commits"},"statuses":{"href":"https://api.github.com/repos/adobe-photoshop/generator-assets/statuses/d02b0ec5e329592a0dca2f6b6393f9130a7cfbae"}}}}