{"action":"created","comment":{"url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/comments/57533923","id":57533923,"diff_hunk":"@@ -1199,7 +1199,7 @@ private Material CreateMaterial(string texturePath)\n \r\n             private static BitmapImage LoadImage(string path)\r\n             {\r\n-                var bmp = new BitmapImage(new Uri(@\"./Media/\" + path, UriKind.RelativeOrAbsolute));\r\n+                var bmp = new BitmapImage(new Uri(path,UriKind.RelativeOrAbsolute));\r","path":"Source/HelixToolkit.Wpf.SharpDX/Utilities/ObjReader.cs","position":21,"original_position":21,"commit_id":"910e42abe29733936b354a3403b72aa100f31c59","original_commit_id":"910e42abe29733936b354a3403b72aa100f31c59","user":{"login":"objorke","id":439716,"avatar_url":"https://avatars.githubusercontent.com/u/439716?v=3","gravatar_id":"","url":"https://api.github.com/users/objorke","html_url":"https://github.com/objorke","followers_url":"https://api.github.com/users/objorke/followers","following_url":"https://api.github.com/users/objorke/following{/other_user}","gists_url":"https://api.github.com/users/objorke/gists{/gist_id}","starred_url":"https://api.github.com/users/objorke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/objorke/subscriptions","organizations_url":"https://api.github.com/users/objorke/orgs","repos_url":"https://api.github.com/users/objorke/repos","events_url":"https://api.github.com/users/objorke/events{/privacy}","received_events_url":"https://api.github.com/users/objorke/received_events","type":"User","site_admin":false},"body":"ok!","created_at":"2016-03-27T19:59:07Z","updated_at":"2016-03-27T19:59:07Z","html_url":"https://github.com/helix-toolkit/helix-toolkit/pull/266#discussion_r57533923","pull_request_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/266","_links":{"self":{"href":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/comments/57533923"},"html":{"href":"https://github.com/helix-toolkit/helix-toolkit/pull/266#discussion_r57533923"},"pull_request":{"href":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/266"}}},"pull_request":{"url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/266","id":64022178,"html_url":"https://github.com/helix-toolkit/helix-toolkit/pull/266","diff_url":"https://github.com/helix-toolkit/helix-toolkit/pull/266.diff","patch_url":"https://github.com/helix-toolkit/helix-toolkit/pull/266.patch","issue_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/266","number":266,"state":"open","locked":false,"title":"Fix Obj texture loading with SharpDX","user":{"login":"deviloper","id":5602328,"avatar_url":"https://avatars.githubusercontent.com/u/5602328?v=3","gravatar_id":"","url":"https://api.github.com/users/deviloper","html_url":"https://github.com/deviloper","followers_url":"https://api.github.com/users/deviloper/followers","following_url":"https://api.github.com/users/deviloper/following{/other_user}","gists_url":"https://api.github.com/users/deviloper/gists{/gist_id}","starred_url":"https://api.github.com/users/deviloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deviloper/subscriptions","organizations_url":"https://api.github.com/users/deviloper/orgs","repos_url":"https://api.github.com/users/deviloper/repos","events_url":"https://api.github.com/users/deviloper/events{/privacy}","received_events_url":"https://api.github.com/users/deviloper/received_events","type":"User","site_admin":false},"body":"I edited some lines of code to enhance texture loading when they are linked to an MTL file with the Helix SharpDX ObjLoader. \r\n\r\nUser won't have to copy textures in a \"media\" folder but their path will be relative to the OBJ/MTL file folder.\r\n\r\nOne possible issue is the loading of textures specified with absolute paths (some softwares export obj/mtl in such format) but I think this change would be useful to many users.","created_at":"2016-03-24T11:39:39Z","updated_at":"2016-03-27T19:59:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51588ed2b7018ad7b879df2296625b5bffdcbac5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/266/commits","review_comments_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/266/comments","review_comment_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/266/comments","statuses_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/statuses/910e42abe29733936b354a3403b72aa100f31c59","head":{"label":"deviloper:master","ref":"master","sha":"910e42abe29733936b354a3403b72aa100f31c59","user":{"login":"deviloper","id":5602328,"avatar_url":"https://avatars.githubusercontent.com/u/5602328?v=3","gravatar_id":"","url":"https://api.github.com/users/deviloper","html_url":"https://github.com/deviloper","followers_url":"https://api.github.com/users/deviloper/followers","following_url":"https://api.github.com/users/deviloper/following{/other_user}","gists_url":"https://api.github.com/users/deviloper/gists{/gist_id}","starred_url":"https://api.github.com/users/deviloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deviloper/subscriptions","organizations_url":"https://api.github.com/users/deviloper/orgs","repos_url":"https://api.github.com/users/deviloper/repos","events_url":"https://api.github.com/users/deviloper/events{/privacy}","received_events_url":"https://api.github.com/users/deviloper/received_events","type":"User","site_admin":false},"repo":{"id":54636879,"name":"helix-toolkit","full_name":"deviloper/helix-toolkit","owner":{"login":"deviloper","id":5602328,"avatar_url":"https://avatars.githubusercontent.com/u/5602328?v=3","gravatar_id":"","url":"https://api.github.com/users/deviloper","html_url":"https://github.com/deviloper","followers_url":"https://api.github.com/users/deviloper/followers","following_url":"https://api.github.com/users/deviloper/following{/other_user}","gists_url":"https://api.github.com/users/deviloper/gists{/gist_id}","starred_url":"https://api.github.com/users/deviloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deviloper/subscriptions","organizations_url":"https://api.github.com/users/deviloper/orgs","repos_url":"https://api.github.com/users/deviloper/repos","events_url":"https://api.github.com/users/deviloper/events{/privacy}","received_events_url":"https://api.github.com/users/deviloper/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deviloper/helix-toolkit","description":"","fork":true,"url":"https://api.github.com/repos/deviloper/helix-toolkit","forks_url":"https://api.github.com/repos/deviloper/helix-toolkit/forks","keys_url":"https://api.github.com/repos/deviloper/helix-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deviloper/helix-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deviloper/helix-toolkit/teams","hooks_url":"https://api.github.com/repos/deviloper/helix-toolkit/hooks","issue_events_url":"https://api.github.com/repos/deviloper/helix-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/deviloper/helix-toolkit/events","assignees_url":"https://api.github.com/repos/deviloper/helix-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/deviloper/helix-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/deviloper/helix-toolkit/tags","blobs_url":"https://api.github.com/repos/deviloper/helix-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deviloper/helix-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deviloper/helix-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/deviloper/helix-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deviloper/helix-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/deviloper/helix-toolkit/languages","stargazers_url":"https://api.github.com/repos/deviloper/helix-toolkit/stargazers","contributors_url":"https://api.github.com/repos/deviloper/helix-toolkit/contributors","subscribers_url":"https://api.github.com/repos/deviloper/helix-toolkit/subscribers","subscription_url":"https://api.github.com/repos/deviloper/helix-toolkit/subscription","commits_url":"https://api.github.com/repos/deviloper/helix-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/deviloper/helix-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/deviloper/helix-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/deviloper/helix-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/deviloper/helix-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/deviloper/helix-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deviloper/helix-toolkit/merges","archive_url":"https://api.github.com/repos/deviloper/helix-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deviloper/helix-toolkit/downloads","issues_url":"https://api.github.com/repos/deviloper/helix-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/deviloper/helix-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/deviloper/helix-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/deviloper/helix-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deviloper/helix-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/deviloper/helix-toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/deviloper/helix-toolkit/deployments","created_at":"2016-03-24T11:27:12Z","updated_at":"2016-03-24T11:27:16Z","pushed_at":"2016-03-24T11:29:52Z","git_url":"git://github.com/deviloper/helix-toolkit.git","ssh_url":"git@github.com:deviloper/helix-toolkit.git","clone_url":"https://github.com/deviloper/helix-toolkit.git","svn_url":"https://github.com/deviloper/helix-toolkit","homepage":null,"size":31795,"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":"helix-toolkit:master","ref":"master","sha":"08bf8543cfdf62a59ccfd9a4c5f8e7034f05ad59","user":{"login":"helix-toolkit","id":8432523,"avatar_url":"https://avatars.githubusercontent.com/u/8432523?v=3","gravatar_id":"","url":"https://api.github.com/users/helix-toolkit","html_url":"https://github.com/helix-toolkit","followers_url":"https://api.github.com/users/helix-toolkit/followers","following_url":"https://api.github.com/users/helix-toolkit/following{/other_user}","gists_url":"https://api.github.com/users/helix-toolkit/gists{/gist_id}","starred_url":"https://api.github.com/users/helix-toolkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helix-toolkit/subscriptions","organizations_url":"https://api.github.com/users/helix-toolkit/orgs","repos_url":"https://api.github.com/users/helix-toolkit/repos","events_url":"https://api.github.com/users/helix-toolkit/events{/privacy}","received_events_url":"https://api.github.com/users/helix-toolkit/received_events","type":"Organization","site_admin":false},"repo":{"id":23380867,"name":"helix-toolkit","full_name":"helix-toolkit/helix-toolkit","owner":{"login":"helix-toolkit","id":8432523,"avatar_url":"https://avatars.githubusercontent.com/u/8432523?v=3","gravatar_id":"","url":"https://api.github.com/users/helix-toolkit","html_url":"https://github.com/helix-toolkit","followers_url":"https://api.github.com/users/helix-toolkit/followers","following_url":"https://api.github.com/users/helix-toolkit/following{/other_user}","gists_url":"https://api.github.com/users/helix-toolkit/gists{/gist_id}","starred_url":"https://api.github.com/users/helix-toolkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helix-toolkit/subscriptions","organizations_url":"https://api.github.com/users/helix-toolkit/orgs","repos_url":"https://api.github.com/users/helix-toolkit/repos","events_url":"https://api.github.com/users/helix-toolkit/events{/privacy}","received_events_url":"https://api.github.com/users/helix-toolkit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/helix-toolkit/helix-toolkit","description":"","fork":false,"url":"https://api.github.com/repos/helix-toolkit/helix-toolkit","forks_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/forks","keys_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/teams","hooks_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/hooks","issue_events_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/events","assignees_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/tags","blobs_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/languages","stargazers_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/stargazers","contributors_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/contributors","subscribers_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/subscribers","subscription_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/subscription","commits_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/merges","archive_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/downloads","issues_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/deployments","created_at":"2014-08-27T07:28:47Z","updated_at":"2016-03-23T20:50:06Z","pushed_at":"2016-03-24T11:39:39Z","git_url":"git://github.com/helix-toolkit/helix-toolkit.git","ssh_url":"git@github.com:helix-toolkit/helix-toolkit.git","clone_url":"https://github.com/helix-toolkit/helix-toolkit.git","svn_url":"https://github.com/helix-toolkit/helix-toolkit","homepage":null,"size":32391,"stargazers_count":184,"watchers_count":184,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":98,"forks":118,"open_issues":98,"watchers":184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/266"},"html":{"href":"https://github.com/helix-toolkit/helix-toolkit/pull/266"},"issue":{"href":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/266"},"comments":{"href":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/helix-toolkit/helix-toolkit/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/helix-toolkit/helix-toolkit/statuses/910e42abe29733936b354a3403b72aa100f31c59"}}}}