Skip to content
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

Needs updating to work in Blender 2.8 #40

Open
BrettWitty opened this issue Jan 22, 2019 · 6 comments
Open

Needs updating to work in Blender 2.8 #40

BrettWitty opened this issue Jan 22, 2019 · 6 comments

Comments

@BrettWitty
Copy link

I know that this plugin is written for Blender 2.5-2.7, but it may be worthwhile preparing for the forthcoming Blender 2.8.

Guidelines on things to be changed: https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/Addons

I attempted to make the changes myself, but I can't get it to appear in the export menu.

@scott--
Copy link

scott-- commented Feb 28, 2019

I was also trying to get this script to work in Blender 2.8.

I got the menu option to appear by changing the following:

bl_info version to (2, 80, 0)
INFO_MT_file_export is now TOPBAR_MT_file_export
removing bpy.utils.register_module / bpy.utils.unregister_module
registering a bunch of classes instead

Unfortunately now I'm getting:

location: <unknown location>:-1
Traceback (most recent call last):
  File "/home/scott/.config/blender/2.80/scripts/addons/YABEE-master/__init__.py", line 434, in draw
    context.scene.yabee_settings.draw(self.layout)
  File "/home/scott/.config/blender/2.80/scripts/addons/YABEE-master/__init__.py", line 171, in draw
    layout.row().label('Animation:')
TypeError: UILayout.label(): required parameter "text" to be a keyword argument!

location: <unknown location>:-1

location: <unknown location>:-1
Traceback (most recent call last):
  File "/home/scott/.config/blender/2.80/scripts/addons/YABEE-master/__init__.py", line 410, in execute
    sett.opt_force_export_vertex_colors,)
  File "/home/scott/.config/blender/2.80/scripts/addons/YABEE-master/yabee_libs/egg_writer.py", line 1629, in write_out
    for tex in obj.texture_slots.values():
AttributeError: 'Material' object has no attribute 'texture_slots'

@HeadClot
Copy link

Hey just thought I would give this a bump as Blender 2.8 stable comes out in July.

@Moguri
Copy link

Moguri commented Jul 29, 2019

An article with a list of changes for 2.8 and some ideas on maintaining 2.7x and 2.8 support in the same code base can be found here

@david-ragazzi
Copy link

Hi guys, do you have any plans to this?

@kergalym
Copy link

kergalym commented Dec 3, 2019

I managed to get it work in Blender 2.80 (some features are missing yet)
https://github.com/kergalym/YABEE

@HeadClot
Copy link

HeadClot commented Dec 3, 2019

Thank you @kergalym

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants