genitalia is shifted down on z axis after import
Plugin version: current master
Blender version: 2.91 beta
When I import the example file: v8genitalia.duf then I get the genitalia located below the appropriate location:
if I try to merge geografts, then the mesh merges incorrectly:
Comments (5)
-
repo owner -
reporter Ah, the reason dbz file is not in sync seems to be that daz script does not work with non-latin symbols in the file path. When i export dbz, it says it is succeded, while itn reality it did nothing. Will check it and report here
-
repo owner Indeed I found a problem if a figure label contains non-ascii characters. I exported a character named Åsa Gåsa from DS, and got the following error in Blender:
Unicode error while reading ascii file "D:\home\bugs\åsa gåsa.dbz" 'utf-8' codec can't decode byte 0xe5 in position 142: invalid continuation byte
The was fixed by not exporting the label, which is not used by the import script anyway. It only uses the name, which in my case is ascii only (Genesis8Female), to identify the character in the dbz file.
However, I don’t think this is your problem, since this bug prevented the plugin from importing the scene altogether.
-
As for unicode characters in the duf name, daz assets are distributed in zip format that doesn’t support unicode so only ascii should be used. At least for international distribution where pcs may have different languages.
As for unicode characters in the daz studio content folders, it should be ok since assets are relative to them. Then the user should avoid to name folders with unicode names inside the content folders if he wants to share data with international users.
Then it also depends on how python supports unicode for file names and labels I don’t know it. For example I see commit 390268a where unicode labels crash the plugin that sounds odd to me.
-
reporter - changed status to resolved
The underlying bug that caused this is reported in
#253. Closing - Log in to comment
It sounds as you exported the dbz file before adding genitals. Then the dbz file will contain info about the body morph but not about the genital morph, so the importer has to use the unmorphed mesh. Please export the dbz file again.