Open 3dcinetv opened 3 years ago
I ran Hair Net in Blender 2.9, I don't know what else do I need to set up for it to work.
Currently, this is the error that presents.
Please let us know if it will be working for Blender 2.9
Thanks!
I corrected that error in my script, by copying the line in the first "if" of that function
But now I'm getting another error, and this one I'm not sure how to bypass:
HairNet has been updated and version 0.6.2 seems to be working in 2.9. It's available in the "releases" page. sirDavid, if you still have the problem in the new version, please provide some more information about what causes the error.
HairNet has been updated and version 0.6.2 seems to be working in 2.9. It's available in the "releases" page. sirDavid, if you still have the problem in the new version, please provide some more information about what causes the error.
I updated to 0.6.2 and Now I get this error:
Traceback (most recent call last):
File "E:\LiberKey\Apps\Blender\App\Blender\x86\2.90\scripts\modules\addon_utils.py", line 351, in enable
mod = __import__(module_name)
File "C:\Users\Felina\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\HairNet\__init__.py", line 28, in <module>
from import_properties import *
ModuleNotFoundError: No module named 'import_properties'
Found the solution! It seems to be a Python 3 syntax change
You need to write a dot in front of import_properties, like so:
from .import_properties import *
at line 28
that done, everything work perfectly!
Thanks for tracking that down. The syntax change has been giving me some trouble. The import was originally written as you put it but I couldn't get THAT to work. I expect that's a problem with my local machine so I'll try to sort it out and get the release updated.
It seems to be working again. There were namespace problems between the development environment and the installed environment. I worked around it and it seems to be alright.
Hello everyone,
I just downloaded the version 0.6.2 of hairnet to use it on blender 2.9, unfortunately I'm still having problems.
below screenshot of the errors.
Thank you in advance for your answer.
Nanatsu,
From the image you shared, it seems like what HairNet is trying to do is create a hair system on a curve object. Which isn't allowed in Blender.
HairNet should catch that and prevent a user from running into this error. That'll need to be fixed.
HairNet needs the last-selected object to be a mesh object, not a curve, so it can create a hair system on it.
If something else is going on, please include some more details about what is happening.