09th / YABEE

Export models from the Blender to Panda3D game engine
MIT License
107 stars 39 forks source link

Does not work with blender 2.78 #27

Closed tim-we closed 7 years ago

tim-we commented 7 years ago

Trying to export a simple plane I got this error: AttributeError: 'BlendData' object has no attribute 'scripts' in egg_writer.py:1097

Changing it from bpy.data.scripts, bpy.data.shape_keys, bpy.data.sounds, to bpy.data.shape_keys, bpy.data.sounds,

fixed that error for me.

rdb commented 7 years ago

Apparently bpy.data.scripts has been deprecated for a while and was removed in Blender 2.77.

rdb commented 7 years ago

You must be using an outdated version of YABEE. This issue was already fixed a while ago:

https://github.com/09th/YABEE/commit/0530d3da2add01e3051402324b14f3207bda6892