{"action":"closed","issue":{"url":"https://api.github.com/repos/GoranM/bdx/issues/364","labels_url":"https://api.github.com/repos/GoranM/bdx/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/GoranM/bdx/issues/364/comments","events_url":"https://api.github.com/repos/GoranM/bdx/issues/364/events","html_url":"https://github.com/GoranM/bdx/issues/364","id":86442110,"number":364,"title":"Bug: srl_dimensions() doesn't work with groups.","user":{"login":"SolarLune","id":4733521,"avatar_url":"https://avatars.githubusercontent.com/u/4733521?v=3","gravatar_id":"","url":"https://api.github.com/users/SolarLune","html_url":"https://github.com/SolarLune","followers_url":"https://api.github.com/users/SolarLune/followers","following_url":"https://api.github.com/users/SolarLune/following{/other_user}","gists_url":"https://api.github.com/users/SolarLune/gists{/gist_id}","starred_url":"https://api.github.com/users/SolarLune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SolarLune/subscriptions","organizations_url":"https://api.github.com/users/SolarLune/orgs","repos_url":"https://api.github.com/users/SolarLune/repos","events_url":"https://api.github.com/users/SolarLune/events{/privacy}","received_events_url":"https://api.github.com/users/SolarLune/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-09T04:29:28Z","updated_at":"2015-06-10T03:08:26Z","closed_at":"2015-06-10T03:08:26Z","body":"Hey, there. So the srl_dimensions() function in exporter.py doesn't work with group objects, so BDX can't export and run if there's a group instance in the scene.\r\n\r\nA proposed solution would be to get the \"first, non-parent\" object / group's \"instanced object\" (recursively, if it's also a group), and use its dimensions instead. The instance() function would probably be key to help make this easier, though I don't see any recursiveness in this in case you create groups of groups (not usual at all, but not a bad idea in game creation, either). \r\n\r\nIt might also be a good idea to expand the function to account for this possibility; I'll see if it's necessary after I get this PR up and running."}}