{"action":"created","issue":{"url":"https://api.github.com/repos/travnick/CryBlend/issues/191","repository_url":"https://api.github.com/repos/travnick/CryBlend","labels_url":"https://api.github.com/repos/travnick/CryBlend/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/travnick/CryBlend/issues/191/comments","events_url":"https://api.github.com/repos/travnick/CryBlend/issues/191/events","html_url":"https://github.com/travnick/CryBlend/issues/191","id":145608445,"number":191,"title":"Do material convention not working in some cases","user":{"login":"ochounos","id":7502581,"avatar_url":"https://avatars.githubusercontent.com/u/7502581?v=3","gravatar_id":"","url":"https://api.github.com/users/ochounos","html_url":"https://github.com/ochounos","followers_url":"https://api.github.com/users/ochounos/followers","following_url":"https://api.github.com/users/ochounos/following{/other_user}","gists_url":"https://api.github.com/users/ochounos/gists{/gist_id}","starred_url":"https://api.github.com/users/ochounos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ochounos/subscriptions","organizations_url":"https://api.github.com/users/ochounos/orgs","repos_url":"https://api.github.com/users/ochounos/repos","events_url":"https://api.github.com/users/ochounos/events{/privacy}","received_events_url":"https://api.github.com/users/ochounos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/travnick/CryBlend/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/travnick/CryBlend/milestones/9","html_url":"https://github.com/travnick/CryBlend/milestones/5.10","labels_url":"https://api.github.com/repos/travnick/CryBlend/milestones/9/labels","id":957815,"number":9,"title":"5.10","description":"Focus on bug fixes and improving general robustness of code.","creator":{"login":"dwhite4","id":6201009,"avatar_url":"https://avatars.githubusercontent.com/u/6201009?v=3","gravatar_id":"","url":"https://api.github.com/users/dwhite4","html_url":"https://github.com/dwhite4","followers_url":"https://api.github.com/users/dwhite4/followers","following_url":"https://api.github.com/users/dwhite4/following{/other_user}","gists_url":"https://api.github.com/users/dwhite4/gists{/gist_id}","starred_url":"https://api.github.com/users/dwhite4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwhite4/subscriptions","organizations_url":"https://api.github.com/users/dwhite4/orgs","repos_url":"https://api.github.com/users/dwhite4/repos","events_url":"https://api.github.com/users/dwhite4/events{/privacy}","received_events_url":"https://api.github.com/users/dwhite4/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":33,"state":"open","created_at":"2015-01-30T03:55:32Z","updated_at":"2016-04-04T07:59:50Z","due_on":"2016-04-10T21:00:00Z","closed_at":null},"comments":1,"created_at":"2016-04-04T07:35:20Z","updated_at":"2016-04-04T08:02:32Z","closed_at":null,"body":"With the new material notation formats, in some cases this optionis not working properly.\r\nI have created a cube with these materials:\r\n\r\n- materialA\r\n- 004__test__physDefault\r\n- test2__2__physDefault\r\n- cube__006__test_3__physNone\r\n- 007__test4\r\n\r\nThe cube is exported well and all the material managed properly, no problem at all, they are all valid materials, but if I apply in this cube the Do material notation some materials are not well converted:\r\n\r\n- cube__01__materialA__physDefault\r\n- cube__02__004__test__physDefault  <- this one is not valid\r\n- cube__03__test2_2__physDefault__physDefault  <- this one is not valid\r\n- cube__04__test_3__physNone\r\n- cube__05__007__test4__physDefault  <- this one is not valid\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/travnick/CryBlend/issues/comments/205182863","html_url":"https://github.com/travnick/CryBlend/issues/191#issuecomment-205182863","issue_url":"https://api.github.com/repos/travnick/CryBlend/issues/191","id":205182863,"user":{"login":"ochounos","id":7502581,"avatar_url":"https://avatars.githubusercontent.com/u/7502581?v=3","gravatar_id":"","url":"https://api.github.com/users/ochounos","html_url":"https://github.com/ochounos","followers_url":"https://api.github.com/users/ochounos/followers","following_url":"https://api.github.com/users/ochounos/following{/other_user}","gists_url":"https://api.github.com/users/ochounos/gists{/gist_id}","starred_url":"https://api.github.com/users/ochounos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ochounos/subscriptions","organizations_url":"https://api.github.com/users/ochounos/orgs","repos_url":"https://api.github.com/users/ochounos/repos","events_url":"https://api.github.com/users/ochounos/events{/privacy}","received_events_url":"https://api.github.com/users/ochounos/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T08:02:32Z","updated_at":"2016-04-04T08:02:32Z","body":"This function could make use of the whole get_materials code renumbering the materials also. Check #192 \r\nThe code of get_materials could call a function to retrieve the materials renumbered but not changing them in the blender file. A boolean param to the function could do the trick: rename them on blender file or just take them on the fly."}}