Closed bartteunis closed 2 years ago
Verified the required directory structure. The zip can have any name as long as it contains a subdirectory with the correct name at the root level.\
That directory will be created at %APPDATA%\Blender Foundation\Blender\2.90\scripts\addons
with everything under it as well.
This fixes any zip naming issue that might occur.
Directories that are placed next to the blender-to-smf
directory are placed in the addons
folder as well, but are not properly removed when the add-on is removed. This is not a very clean way to do it.
Closing this issue since there seems to be no perfect way to do this. People using this add-on should install from a release package or by cloning into the right add-on directory.
The current repository structure on GitHub has an annoying and unnecessary limitation: the download zip is named
blender-to-smf-master.zip
with no subdirectoryblender-to-smf
in it. As a consequence, when installing the add-on from that zip file, which should technically work, Blender puts the add-on in a directoryblender-to-smf-master
while it really should be justblender-to-smf
.This can be solved by putting everything under a
blender-to-smf
folder. The zip will still have the same name, but the additional directory inside the zip makes it clear to Blender that it should create a subdirectory, with that name.\ All other files will of course come with it so ideally users should still use the release zip to do a proper installation of the add-on.Another advantage of this directory structure would be the option to simply put a directory with example models next to it.