{"action":"created","issue":{"url":"https://api.github.com/repos/MrCrayfish/ModelCreator/issues/108","repository_url":"https://api.github.com/repos/MrCrayfish/ModelCreator","labels_url":"https://api.github.com/repos/MrCrayfish/ModelCreator/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/MrCrayfish/ModelCreator/issues/108/comments","events_url":"https://api.github.com/repos/MrCrayfish/ModelCreator/issues/108/events","html_url":"https://github.com/MrCrayfish/ModelCreator/pull/108","id":160036322,"number":108,"title":"When importing json file or loading model, let every face be enabled.","user":{"login":"AndersBillLinden","id":1017466,"avatar_url":"https://avatars.githubusercontent.com/u/1017466?v=3","gravatar_id":"","url":"https://api.github.com/users/AndersBillLinden","html_url":"https://github.com/AndersBillLinden","followers_url":"https://api.github.com/users/AndersBillLinden/followers","following_url":"https://api.github.com/users/AndersBillLinden/following{/other_user}","gists_url":"https://api.github.com/users/AndersBillLinden/gists{/gist_id}","starred_url":"https://api.github.com/users/AndersBillLinden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndersBillLinden/subscriptions","organizations_url":"https://api.github.com/users/AndersBillLinden/orgs","repos_url":"https://api.github.com/users/AndersBillLinden/repos","events_url":"https://api.github.com/users/AndersBillLinden/events{/privacy}","received_events_url":"https://api.github.com/users/AndersBillLinden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-13T20:21:58Z","updated_at":"2016-07-02T01:58:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MrCrayfish/ModelCreator/pulls/108","html_url":"https://github.com/MrCrayfish/ModelCreator/pull/108","diff_url":"https://github.com/MrCrayfish/ModelCreator/pull/108.diff","patch_url":"https://github.com/MrCrayfish/ModelCreator/pull/108.patch"},"body":"Hello MrCrayfish!\r\nWhen I create a cube, I will see it even if I did not choose a texture yet.\r\nIf I save the file, either exporting it as json or saving it to the model format and then load it again, the faces without texture will not show any longer so I will see nothing after I have loaded the model.\r\n\r\nThis is maybe not satisfactory.\r\n\r\nThe change will enable all faces when loading/importing an object.\r\nI am not totally sure this is appropriate, so you better think about it twice before accepting this PR.\r\nWhen should loaded faces actually be disabled?"},"comment":{"url":"https://api.github.com/repos/MrCrayfish/ModelCreator/issues/comments/230077832","html_url":"https://github.com/MrCrayfish/ModelCreator/pull/108#issuecomment-230077832","issue_url":"https://api.github.com/repos/MrCrayfish/ModelCreator/issues/108","id":230077832,"user":{"login":"MrCrayfish","id":4958241,"avatar_url":"https://avatars.githubusercontent.com/u/4958241?v=3","gravatar_id":"","url":"https://api.github.com/users/MrCrayfish","html_url":"https://github.com/MrCrayfish","followers_url":"https://api.github.com/users/MrCrayfish/followers","following_url":"https://api.github.com/users/MrCrayfish/following{/other_user}","gists_url":"https://api.github.com/users/MrCrayfish/gists{/gist_id}","starred_url":"https://api.github.com/users/MrCrayfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrCrayfish/subscriptions","organizations_url":"https://api.github.com/users/MrCrayfish/orgs","repos_url":"https://api.github.com/users/MrCrayfish/repos","events_url":"https://api.github.com/users/MrCrayfish/events{/privacy}","received_events_url":"https://api.github.com/users/MrCrayfish/received_events","type":"User","site_admin":false},"created_at":"2016-07-02T01:58:47Z","updated_at":"2016-07-02T01:58:47Z","body":"Yes. If you ignore writing one of the face definitions when creating an element, it won't render that face.\r\n```\r\n{\r\n            \"name\": \"Cube\",\r\n            \"from\": [ 1.0, 14.0, 0.1 ], \r\n            \"to\": [ 15.0, 15.0, 1.0 ], \r\n            \"faces\": {\r\n                \"north\": { \"texture\": \"#0\", \"uv\": [ 0.0, 0.0, 14.0, 1.0 ] },\r\n                \"west\": { \"texture\": \"#0\", \"uv\": [ 0.0, 0.0, 1.0, 1.0 ] },\r\n                \"down\": { \"texture\": \"#0\", \"uv\": [ 0.0, 0.0, 14.0, 1.0 ] }\r\n            }\r\n        },\r\n```\r\nWon't render east, south, and up face."}}
{"actor":{"display_login":"MrCrayfish"}}