Khai-J-Bach opened this issue on Aug 27, 2010 · 1684 posts
odf posted Wed, 15 September 2010 at 7:06 AM
Quote - ODF - unfortunately, every hairstyle I've tried (at least 6, from several different sources) gives me the same 'NoneType' error. I tried loading a hair set by itself, in case being parented to a figure was causing it, but that didn't work. I tried growing a hairball, and that exported fine. I'm not sure what's going on.
I think I've found the problem. In the file pydough/from_poser.py, change line 198 from
if g.Name() ==
name:
to
if g.HairProp().InternalName() == name:
As usual, make sure not to change the number of space at the beginning of the line, since Python is very sensitive about that.
I'm not completely sure yet I understand how Poser handles dynamic hair, but this works with the Izetta hair and looks kind of logical to me.
-- I'm not mad at you, just Westphalian.