{"action":"created","issue":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/655","labels_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/655/comments","events_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/655/events","html_url":"https://github.com/BabylonJS/Babylon.js/issues/655","id":100698165,"number":655,"title":"Blender exporter broken in Ubuntu","user":{"login":"fariazz","id":1313597,"avatar_url":"https://avatars.githubusercontent.com/u/1313597?v=3","gravatar_id":"","url":"https://api.github.com/users/fariazz","html_url":"https://github.com/fariazz","followers_url":"https://api.github.com/users/fariazz/followers","following_url":"https://api.github.com/users/fariazz/following{/other_user}","gists_url":"https://api.github.com/users/fariazz/gists{/gist_id}","starred_url":"https://api.github.com/users/fariazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fariazz/subscriptions","organizations_url":"https://api.github.com/users/fariazz/orgs","repos_url":"https://api.github.com/users/fariazz/repos","events_url":"https://api.github.com/users/fariazz/events{/privacy}","received_events_url":"https://api.github.com/users/fariazz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-13T06:17:32Z","updated_at":"2015-08-13T16:21:42Z","closed_at":null,"body":"Hi,\r\n\r\nI tried the blender exporter script in Ubuntu, on Blender 2.72 and got this error. Same error in a blank project or existing blender files.\r\n\r\n```\r\n\tExporter version: 3.0.0, Blender version: 2.72 (sub 0)\r\n========= Conversion from Blender to Babylon.js =========\r\n\tPython World class constructor completed\r\n\tprocessing begun of mesh:  Cube\r\n\t\tprocessing begun of baked material:  Cube\r\n========= An error was encountered =========\r\n  File \"/home/fariazz/.config/blender/2.72/scripts/addons/io_export_babylon.py\", line 287, in execute\r\n    mesh = Mesh(object, scene, nextStartFace, forcedParent, nameID, self)\r\n  File \"/home/fariazz/.config/blender/2.72/scripts/addons/io_export_babylon.py\", line 695, in __init__\r\n    bakedMat = BakedMaterial(exporter, object, recipe)\r\n  File \"/home/fariazz/.config/blender/2.72/scripts/addons/io_export_babylon.py\", line 1803, in __init__\r\n    bpy.ops.uv.smart_project(angle_limit = 66.0, island_margin = 0.0, user_area_weight = 1.0, use_aspect = True)\r\n  File \"/home/fariazz/Temp/blender/blender-2.72b-linux-glibc211-x86_64/2.72/scripts/modules/bpy/ops.py\", line 188, in __call__\r\n    ret = op_call(self.idname_py(), None, kw)\r\nERROR:  Converting py args to operator properties: : keyword \"use_aspect\" unrecognized\r\n========= end of processing =========\r\nelapsed time:  0 min, 0.0011 secs\r\n```\r\n\r\nWhen using this version of the python script it works well: https://github.com/BabylonJS/Babylon.js/blob/c0b7e6100d8097ac9608fe48ab69e294c67799e9/Exporters/Blender/io_export_babylon.py  on Blender 2.75a"},"comment":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/comments/130749336","html_url":"https://github.com/BabylonJS/Babylon.js/issues/655#issuecomment-130749336","issue_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/655","id":130749336,"user":{"login":"Palmer-JC","id":7916131,"avatar_url":"https://avatars.githubusercontent.com/u/7916131?v=3","gravatar_id":"","url":"https://api.github.com/users/Palmer-JC","html_url":"https://github.com/Palmer-JC","followers_url":"https://api.github.com/users/Palmer-JC/followers","following_url":"https://api.github.com/users/Palmer-JC/following{/other_user}","gists_url":"https://api.github.com/users/Palmer-JC/gists{/gist_id}","starred_url":"https://api.github.com/users/Palmer-JC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Palmer-JC/subscriptions","organizations_url":"https://api.github.com/users/Palmer-JC/orgs","repos_url":"https://api.github.com/users/Palmer-JC/repos","events_url":"https://api.github.com/users/Palmer-JC/events{/privacy}","received_events_url":"https://api.github.com/users/Palmer-JC/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T16:21:42Z","updated_at":"2015-08-13T16:21:42Z","body":"Ok,\r\nI have put a check at the end of the BakingRecipe constructor, which ensures UVEditing exists when bakingRequired, otherwise a warning is put in log file & bakingRequired is turned off.  Just a standard material is made.\r\n\r\nI am looking at 3 other things.  If they can be fixed quick, want to get them on the same version, 3.0.1.  If you really need this & not just testing (which I appreciate), paste this at the end of BekingRecipe:\r\n\r\n```python\r\n        # check for really old .blend file, eg. 2.49, to ensure that everything requires exists\r\n        if self.needsBaking and bpy.data.screens.find('UV Editing') == -1:\r\n            Main.warn('Contains material requiring baking, but resources not available.  Probably .blend very old', 2)\r\n            self.needsBaking = False     \r\n```"}}