Importing error on Blender 2.79
Closed this issue · 7 comments
Sorry haven't been notified (damn Microsoft). Could you link to a b3d model in question?
Didn't plan to deal with beta versions. Even the File menu looks entirely different. I'll look into a pull request if you figure this out.
Upd
Fixed __init__.py
in a new 2.80 branch like this: 0cb975b
It's loaded but then there's still tons of errors on import.
material.diffuse_color = mat.rgba[:-1] # sequences of dimension 0 should contain 4 items, not 3
material.use_transparency = material.alpha < 1 # says no attribute material.alpha
mtex = material.texture_slots.add() # 'Material' object has no attribute texture_slots
ctx.scene.objects.link(ob) # bpy_prop_collection' object has no attribute 'link'
I have no idea how to fix that just yet. Even If I comment out color stuff the latter two things look like 2.80 has changed a lot, probably uses another namespace.
Ok, so for now I'll just use 2.79, then will report.
Sorry haven't been notified (damn Microsoft). Could you link to a b3d model in question?
https://cdn.discordapp.com/attachments/376132246161326081/530024057291276288/gooey.b3d
It's not the file from Teashrock, but I guess the problem's the same
@Typhon306 cool, thanks. I'm busy now, could take a while.