{"action":"closed","issue":{"url":"https://api.github.com/repos/tobspr/Panda3D-Bam-Exporter/issues/4","repository_url":"https://api.github.com/repos/tobspr/Panda3D-Bam-Exporter","labels_url":"https://api.github.com/repos/tobspr/Panda3D-Bam-Exporter/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/tobspr/Panda3D-Bam-Exporter/issues/4/comments","events_url":"https://api.github.com/repos/tobspr/Panda3D-Bam-Exporter/issues/4/events","html_url":"https://github.com/tobspr/Panda3D-Bam-Exporter/issues/4","id":137980009,"number":4,"title":"bpy.types.Scene.pbe may be unregistered when BAM exporter try to remove that","user":{"login":"sanguinariojoe","id":1668392,"avatar_url":"https://avatars.githubusercontent.com/u/1668392?v=3","gravatar_id":"","url":"https://api.github.com/users/sanguinariojoe","html_url":"https://github.com/sanguinariojoe","followers_url":"https://api.github.com/users/sanguinariojoe/followers","following_url":"https://api.github.com/users/sanguinariojoe/following{/other_user}","gists_url":"https://api.github.com/users/sanguinariojoe/gists{/gist_id}","starred_url":"https://api.github.com/users/sanguinariojoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanguinariojoe/subscriptions","organizations_url":"https://api.github.com/users/sanguinariojoe/orgs","repos_url":"https://api.github.com/users/sanguinariojoe/repos","events_url":"https://api.github.com/users/sanguinariojoe/events{/privacy}","received_events_url":"https://api.github.com/users/sanguinariojoe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-02T20:15:30Z","updated_at":"2016-03-02T20:31:20Z","closed_at":"2016-03-02T20:31:20Z","body":"Linux, Blender 2.74\r\n\r\nWhen I'm disabling the plugin right after launching blender, it is returning an exception because bpy.types.Scene has not the pbe attribute, probably because the plugin has not registered it yet.\r\n\r\nAs a workaround, I suggest replacing in Exporter.py the following line:\r\n`del bpy.types.Scene.pbe`\r\nby:\r\n```\r\ntry:\r\n    del bpy.types.Scene.pbe\r\nexcept AttributeError:\r\n    pass\r\n```"}}