{"action":"closed","number":9538,"pull_request":{"url":"https://api.github.com/repos/mrdoob/three.js/pulls/9538","id":81741410,"html_url":"https://github.com/mrdoob/three.js/pull/9538","diff_url":"https://github.com/mrdoob/three.js/pull/9538.diff","patch_url":"https://github.com/mrdoob/three.js/pull/9538.patch","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/9538","number":9538,"state":"closed","locked":false,"title":"Serialize and load CubeTexture","user":{"login":"satori99","id":1762580,"avatar_url":"https://avatars.githubusercontent.com/u/1762580?v=3","gravatar_id":"","url":"https://api.github.com/users/satori99","html_url":"https://github.com/satori99","followers_url":"https://api.github.com/users/satori99/followers","following_url":"https://api.github.com/users/satori99/following{/other_user}","gists_url":"https://api.github.com/users/satori99/gists{/gist_id}","starred_url":"https://api.github.com/users/satori99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satori99/subscriptions","organizations_url":"https://api.github.com/users/satori99/orgs","repos_url":"https://api.github.com/users/satori99/repos","events_url":"https://api.github.com/users/satori99/events{/privacy}","received_events_url":"https://api.github.com/users/satori99/received_events","type":"User","site_admin":false},"body":"This change to the `ObjectLoader` and `Texture` classes enables serialization and loading of `CubeTexture` to and from JSON.\n\nA serialized `CubeTexture` will look something like this;\n\n```\n{\n    \"uuid\": \"a38f080d-24d8-5194-93d2-0187cc69e33e\",\n    \"name\": \"Environment\",\n    \"mapping\": 301,\n    \"images\": [\n        \"edd9314b-dd25-5ca0-9ccc-391e8ccdc11a\",\n        \"fcdd3d58-34d1-4760-9b21-8c851a38dcac\",\n        [ ... 4 more ]\n    ]\n}\n```\n\nLive action fiddle: https://jsfiddle.net/satori99/Ls7f69pt/\n","created_at":"2016-08-18T00:50:48Z","updated_at":"2016-12-20T04:03:49Z","closed_at":"2016-12-20T04:03:49Z","merged_at":null,"merge_commit_sha":"1692ca1404383c16d4cb129a500f0691e144f4e8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mrdoob/three.js/pulls/9538/commits","review_comments_url":"https://api.github.com/repos/mrdoob/three.js/pulls/9538/comments","review_comment_url":"https://api.github.com/repos/mrdoob/three.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/9538/comments","statuses_url":"https://api.github.com/repos/mrdoob/three.js/statuses/8cf76e9f7bdae9af548960c3ae67f4a86455e21e","head":{"label":"satori99:cubetexture","ref":"cubetexture","sha":"8cf76e9f7bdae9af548960c3ae67f4a86455e21e","user":{"login":"satori99","id":1762580,"avatar_url":"https://avatars.githubusercontent.com/u/1762580?v=3","gravatar_id":"","url":"https://api.github.com/users/satori99","html_url":"https://github.com/satori99","followers_url":"https://api.github.com/users/satori99/followers","following_url":"https://api.github.com/users/satori99/following{/other_user}","gists_url":"https://api.github.com/users/satori99/gists{/gist_id}","starred_url":"https://api.github.com/users/satori99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satori99/subscriptions","organizations_url":"https://api.github.com/users/satori99/orgs","repos_url":"https://api.github.com/users/satori99/repos","events_url":"https://api.github.com/users/satori99/events{/privacy}","received_events_url":"https://api.github.com/users/satori99/received_events","type":"User","site_admin":false},"repo":{"id":19721251,"name":"three.js","full_name":"satori99/three.js","owner":{"login":"satori99","id":1762580,"avatar_url":"https://avatars.githubusercontent.com/u/1762580?v=3","gravatar_id":"","url":"https://api.github.com/users/satori99","html_url":"https://github.com/satori99","followers_url":"https://api.github.com/users/satori99/followers","following_url":"https://api.github.com/users/satori99/following{/other_user}","gists_url":"https://api.github.com/users/satori99/gists{/gist_id}","starred_url":"https://api.github.com/users/satori99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satori99/subscriptions","organizations_url":"https://api.github.com/users/satori99/orgs","repos_url":"https://api.github.com/users/satori99/repos","events_url":"https://api.github.com/users/satori99/events{/privacy}","received_events_url":"https://api.github.com/users/satori99/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/satori99/three.js","description":"JavaScript 3D library.","fork":true,"url":"https://api.github.com/repos/satori99/three.js","forks_url":"https://api.github.com/repos/satori99/three.js/forks","keys_url":"https://api.github.com/repos/satori99/three.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/satori99/three.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/satori99/three.js/teams","hooks_url":"https://api.github.com/repos/satori99/three.js/hooks","issue_events_url":"https://api.github.com/repos/satori99/three.js/issues/events{/number}","events_url":"https://api.github.com/repos/satori99/three.js/events","assignees_url":"https://api.github.com/repos/satori99/three.js/assignees{/user}","branches_url":"https://api.github.com/repos/satori99/three.js/branches{/branch}","tags_url":"https://api.github.com/repos/satori99/three.js/tags","blobs_url":"https://api.github.com/repos/satori99/three.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/satori99/three.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/satori99/three.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/satori99/three.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/satori99/three.js/statuses/{sha}","languages_url":"https://api.github.com/repos/satori99/three.js/languages","stargazers_url":"https://api.github.com/repos/satori99/three.js/stargazers","contributors_url":"https://api.github.com/repos/satori99/three.js/contributors","subscribers_url":"https://api.github.com/repos/satori99/three.js/subscribers","subscription_url":"https://api.github.com/repos/satori99/three.js/subscription","commits_url":"https://api.github.com/repos/satori99/three.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/satori99/three.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/satori99/three.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/satori99/three.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/satori99/three.js/contents/{+path}","compare_url":"https://api.github.com/repos/satori99/three.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/satori99/three.js/merges","archive_url":"https://api.github.com/repos/satori99/three.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/satori99/three.js/downloads","issues_url":"https://api.github.com/repos/satori99/three.js/issues{/number}","pulls_url":"https://api.github.com/repos/satori99/three.js/pulls{/number}","milestones_url":"https://api.github.com/repos/satori99/three.js/milestones{/number}","notifications_url":"https://api.github.com/repos/satori99/three.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/satori99/three.js/labels{/name}","releases_url":"https://api.github.com/repos/satori99/three.js/releases{/id}","deployments_url":"https://api.github.com/repos/satori99/three.js/deployments","created_at":"2014-05-13T01:11:34Z","updated_at":"2016-02-10T04:53:56Z","pushed_at":"2016-12-20T04:03:49Z","git_url":"git://github.com/satori99/three.js.git","ssh_url":"git@github.com:satori99/three.js.git","clone_url":"https://github.com/satori99/three.js.git","svn_url":"https://github.com/satori99/three.js","homepage":"http://threejs.org/","size":451757,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mrdoob:dev","ref":"dev","sha":"7a0407fbde44eccc4858195724c40561e1528464","user":{"login":"mrdoob","id":97088,"avatar_url":"https://avatars.githubusercontent.com/u/97088?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"repo":{"id":576201,"name":"three.js","full_name":"mrdoob/three.js","owner":{"login":"mrdoob","id":97088,"avatar_url":"https://avatars.githubusercontent.com/u/97088?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrdoob/three.js","description":"JavaScript 3D library.","fork":false,"url":"https://api.github.com/repos/mrdoob/three.js","forks_url":"https://api.github.com/repos/mrdoob/three.js/forks","keys_url":"https://api.github.com/repos/mrdoob/three.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrdoob/three.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrdoob/three.js/teams","hooks_url":"https://api.github.com/repos/mrdoob/three.js/hooks","issue_events_url":"https://api.github.com/repos/mrdoob/three.js/issues/events{/number}","events_url":"https://api.github.com/repos/mrdoob/three.js/events","assignees_url":"https://api.github.com/repos/mrdoob/three.js/assignees{/user}","branches_url":"https://api.github.com/repos/mrdoob/three.js/branches{/branch}","tags_url":"https://api.github.com/repos/mrdoob/three.js/tags","blobs_url":"https://api.github.com/repos/mrdoob/three.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrdoob/three.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrdoob/three.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrdoob/three.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrdoob/three.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mrdoob/three.js/languages","stargazers_url":"https://api.github.com/repos/mrdoob/three.js/stargazers","contributors_url":"https://api.github.com/repos/mrdoob/three.js/contributors","subscribers_url":"https://api.github.com/repos/mrdoob/three.js/subscribers","subscription_url":"https://api.github.com/repos/mrdoob/three.js/subscription","commits_url":"https://api.github.com/repos/mrdoob/three.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrdoob/three.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrdoob/three.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrdoob/three.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrdoob/three.js/contents/{+path}","compare_url":"https://api.github.com/repos/mrdoob/three.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrdoob/three.js/merges","archive_url":"https://api.github.com/repos/mrdoob/three.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrdoob/three.js/downloads","issues_url":"https://api.github.com/repos/mrdoob/three.js/issues{/number}","pulls_url":"https://api.github.com/repos/mrdoob/three.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mrdoob/three.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mrdoob/three.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrdoob/three.js/labels{/name}","releases_url":"https://api.github.com/repos/mrdoob/three.js/releases{/id}","deployments_url":"https://api.github.com/repos/mrdoob/three.js/deployments","created_at":"2010-03-23T18:58:01Z","updated_at":"2016-12-20T03:06:14Z","pushed_at":"2016-12-19T20:51:24Z","git_url":"git://github.com/mrdoob/three.js.git","ssh_url":"git@github.com:mrdoob/three.js.git","clone_url":"https://github.com/mrdoob/three.js.git","svn_url":"https://github.com/mrdoob/three.js","homepage":"http://threejs.org/","size":437725,"stargazers_count":29543,"watchers_count":29543,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":10261,"mirror_url":null,"open_issues_count":856,"forks":10261,"open_issues":856,"watchers":29543,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/9538"},"html":{"href":"https://github.com/mrdoob/three.js/pull/9538"},"issue":{"href":"https://api.github.com/repos/mrdoob/three.js/issues/9538"},"comments":{"href":"https://api.github.com/repos/mrdoob/three.js/issues/9538/comments"},"review_comments":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/9538/comments"},"review_comment":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/9538/commits"},"statuses":{"href":"https://api.github.com/repos/mrdoob/three.js/statuses/8cf76e9f7bdae9af548960c3ae67f4a86455e21e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":2,"commits":1,"additions":58,"deletions":29,"changed_files":2}}
{"actor":{"display_login":"satori99"}}