{"action":"created","issue":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/481","labels_url":"https://api.github.com/repos/urho3d/Urho3D/issues/481/labels{/name}","comments_url":"https://api.github.com/repos/urho3d/Urho3D/issues/481/comments","events_url":"https://api.github.com/repos/urho3d/Urho3D/issues/481/events","html_url":"https://github.com/urho3d/Urho3D/pull/481","id":45185788,"number":481,"title":"SpritePacker cli","user":{"login":"friesencr","id":105460,"avatar_url":"https://avatars.githubusercontent.com/u/105460?v=3","gravatar_id":"","url":"https://api.github.com/users/friesencr","html_url":"https://github.com/friesencr","followers_url":"https://api.github.com/users/friesencr/followers","following_url":"https://api.github.com/users/friesencr/following{/other_user}","gists_url":"https://api.github.com/users/friesencr/gists{/gist_id}","starred_url":"https://api.github.com/users/friesencr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friesencr/subscriptions","organizations_url":"https://api.github.com/users/friesencr/orgs","repos_url":"https://api.github.com/users/friesencr/repos","events_url":"https://api.github.com/users/friesencr/events{/privacy}","received_events_url":"https://api.github.com/users/friesencr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-10-07T23:33:59Z","updated_at":"2015-01-04T07:07:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/urho3d/Urho3D/pulls/481","html_url":"https://github.com/urho3d/Urho3D/pull/481","diff_url":"https://github.com/urho3d/Urho3D/pull/481.diff","patch_url":"https://github.com/urho3d/Urho3D/pull/481.patch"},"body":"This is a basic cli program that packs a bunch of pngs into a single large one and generates an urho3d specific xml file."},"comment":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/comments/68623702","html_url":"https://github.com/urho3d/Urho3D/pull/481#issuecomment-68623702","issue_url":"https://api.github.com/repos/urho3d/Urho3D/issues/481","id":68623702,"user":{"login":"Mike3D","id":6427048,"avatar_url":"https://avatars.githubusercontent.com/u/6427048?v=3","gravatar_id":"","url":"https://api.github.com/users/Mike3D","html_url":"https://github.com/Mike3D","followers_url":"https://api.github.com/users/Mike3D/followers","following_url":"https://api.github.com/users/Mike3D/following{/other_user}","gists_url":"https://api.github.com/users/Mike3D/gists{/gist_id}","starred_url":"https://api.github.com/users/Mike3D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mike3D/subscriptions","organizations_url":"https://api.github.com/users/Mike3D/orgs","repos_url":"https://api.github.com/users/Mike3D/repos","events_url":"https://api.github.com/users/Mike3D/events{/privacy}","received_events_url":"https://api.github.com/users/Mike3D/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T07:07:05Z","updated_at":"2015-01-04T07:07:05Z","body":"@ line 341, we should replace\r\n```c++\r\nroot.SetAttribute(\"imagePath\", spriteSheetFileName);\r\n```\r\nby\r\n```c++\r\nroot.SetAttribute(\"imagePath\", GetFileNameAndExtension(outputFile));\r\n```\r\nAs I mentioned earlier, 'image path' element in the xml file is the relative path to the spritesheet/atlas image."}}