avelgest / baker-node

A Blender add-on that adds a node to the Shader Editor which can bake its input to an image, vertex attribute or sculpt mask with one click.
GNU General Public License v2.0
41 stars 0 forks source link

Incorrect folder structure in version 0.7.0 release #1

Closed Reoxur closed 11 months ago

Reoxur commented 11 months ago

Cant install it on 3.6, for me it just doesn't show up to be enabled

And a friend gets this error image

Reoxur commented 11 months ago

I think I got it to work now Had to do it like this image

Its maybe because of the weird way its set up, it looks like an addon in and addon, 2 init files

And having blender install it automatically, creates a folder named "baker_node_v0.7.0" and blender doesn't like stuff named like that.

Many people arent aware the name of the folder in the blender addons folder has to be simpler, they'll assume it doesn't work.

avelgest commented 11 months ago

Thanks for the information! The structure of the latest release was incorrect (the files in the root of the zip should have been inside a folder). I've updated the release and hopefully installing through Blender should now work.

I think your friend's issue might also be due to downloading a Source Code zip (the release zips use underscores instead of hyphens). GitHub automatically appends the version to the the repo name in those zips so Blender can't import them as Python modules unless they're renamed.

The add-on has a slightly unusual structure (setting it up this way makes running tests easier), but only one __init__ file contains a bl_info dict so it's still only a single add-on.

I can't seem to reproduce Blender creating a "baker_node_v0.7.0" folder (if it were with hypens this could be due to using a source zip as above), but hopefully the changes made to the release package have fixed it. I'll leave the issue open for now in case it hasn't.

Reoxur commented 11 months ago

👍🏽