New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blender exporter broken in Ubuntu #655
Comments
With that older script I can export a blank new project, but when trying some existing Blender files I get an error regarding UV Editing:
This is the blender file: http://www.blendswap.com/blends/view/4764 |
The use_aspect problem is related to your Blender version, will set the version to 2,75.0 next release. Just saw the second one. Do not know how you cannot have 'UVEditing' screen, but will look at. I downloaded that. I see it was made with Blender 2.49. Wow that is old. Best I can probably do is perform a check for 'UVEditing' and skip baking in that case. That would be the equivalent of previous exporter (geometry with out materials). Not the highest priority, but having a test .blend might work in your favor. |
Ok, I 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: # check for really old .blend file, eg. 2.49, to ensure that everything requires exists
if self.needsBaking and bpy.data.screens.find('UV Editing') == -1:
Main.warn('Contains material requiring baking, but resources not available. Probably .blend very old', 2)
self.needsBaking = False |
@Palmer-JC thank you so much! it works like a charm now. |
Hi,
I 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.
When 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
The text was updated successfully, but these errors were encountered: