UVgami
UVgami copied to clipboard
UVgami wont activate
trying to activate UVgami in blender 4.0.1 but keep getting a python Traceback error. the error message is as follows:
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_4.0.1.0_x64__ppwjx1n5r4v9t\Blender\4.0\scripts\modules\addon_utils.py", line 364, in enable
mod = importlib.import_module(module_name)
File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_4.0.1.0_x64__ppwjx1n5r4v9t\Blender\4.0\python\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
went in to src\progress_bar.py and changed "2D_UNIFORM_COLOR" to "UNIFORM_COLOR" this seamed to work and the addon activated successfully. however upon attempting to unwrap a mesh UVgami kept throwing "unkown error" alerts and wouldnt unwrap the mesh.
Thanks for letting me know about this! It seems there were some breaking changes to the Blender API in 4.0. I'll be able to fix this on the weekend, but for now you could download an older version like 3.5 and it should work properly.
The unknown error is when the engine process has a return code that isn't handled. What kind of mesh are you trying to unwrap? Did unwrapping a cube also give you an unknown error?
Yes to both of those. unwrapping a cube in blender 4.0 caused a Unknown error. I downgraded back to 3.3 to play around with plugin and it worked perfectly! I think the issue is as you said before, some api changes in blender 4.0 are causing issue with the plugin. Additionally, I don't know if this is the place to ask (im very new to github), but in future would you consider adding a feature to control exactly how much stretching the addon deems acceptable?
That's strange, I can't seem to get the unknown error. After changing the shader to "UNIFORM_COLOR" like you did, it worked for me on 4.0.1. Maybe there's something else going on as well.
Yes, issues on github is a good place to ask for new features. For the stretching feature do you mean like a number input for more control over the stretching? Right now there is a quality dropdown that allows you to choose 3 presets for accepted stretching but it doesn't let you input an exact value.