{"action":"created","issue":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/850","labels_url":"https://api.github.com/repos/urho3d/Urho3D/issues/850/labels{/name}","comments_url":"https://api.github.com/repos/urho3d/Urho3D/issues/850/comments","events_url":"https://api.github.com/repos/urho3d/Urho3D/issues/850/events","html_url":"https://github.com/urho3d/Urho3D/pull/850","id":101982479,"number":850,"title":"TmxFile2D: Fix determination of object type","user":{"login":"bjorn","id":531764,"avatar_url":"https://avatars.githubusercontent.com/u/531764?v=3","gravatar_id":"","url":"https://api.github.com/users/bjorn","html_url":"https://github.com/bjorn","followers_url":"https://api.github.com/users/bjorn/followers","following_url":"https://api.github.com/users/bjorn/following{/other_user}","gists_url":"https://api.github.com/users/bjorn/gists{/gist_id}","starred_url":"https://api.github.com/users/bjorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjorn/subscriptions","organizations_url":"https://api.github.com/users/bjorn/orgs","repos_url":"https://api.github.com/users/bjorn/repos","events_url":"https://api.github.com/users/bjorn/events{/privacy}","received_events_url":"https://api.github.com/users/bjorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T19:47:40Z","updated_at":"2015-08-20T08:07:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/urho3d/Urho3D/pulls/850","html_url":"https://github.com/urho3d/Urho3D/pull/850","diff_url":"https://github.com/urho3d/Urho3D/pull/850.diff","patch_url":"https://github.com/urho3d/Urho3D/pull/850.patch"},"body":"TmxObjectGroup2D::Load was using the presence of the \"width\" and \"height\" attributes for deciding whether an object was a rectangle, ellipse or something else. This approach breaks for maps saved in more recent versions of Tiled. This is because the width and height are only saved when they differ from the default (0), and because the width and height are now also used to store the size of tile objects.\r\n\r\nSo for maps saved with Tiled >= 0.12, this change:\r\n\r\n* Fixes identification of rectangle and ellipse objects with 0 width and height (which was leading to the entire map failing to load).\r\n* Fixes identification of tile objects."},"comment":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/comments/132926484","html_url":"https://github.com/urho3d/Urho3D/pull/850#issuecomment-132926484","issue_url":"https://api.github.com/repos/urho3d/Urho3D/issues/850","id":132926484,"user":{"login":"cadaver","id":51361,"avatar_url":"https://avatars.githubusercontent.com/u/51361?v=3","gravatar_id":"","url":"https://api.github.com/users/cadaver","html_url":"https://github.com/cadaver","followers_url":"https://api.github.com/users/cadaver/followers","following_url":"https://api.github.com/users/cadaver/following{/other_user}","gists_url":"https://api.github.com/users/cadaver/gists{/gist_id}","starred_url":"https://api.github.com/users/cadaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cadaver/subscriptions","organizations_url":"https://api.github.com/users/cadaver/orgs","repos_url":"https://api.github.com/users/cadaver/repos","events_url":"https://api.github.com/users/cadaver/events{/privacy}","received_events_url":"https://api.github.com/users/cadaver/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T08:07:07Z","updated_at":"2015-08-20T08:07:07Z","body":"Thanks, nice to get a fix from the author himself!"}}