regression from #b3218d6
Issue #50
resolved
Unable to import, in my case, character with error:
Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-b3218d61c33d\error.py", line 187, in execute
self.run(context)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-b3218d61c33d\daz.py", line 48, in run
getMainAsset(self.filepath, context, self)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-b3218d61c33d\main.py", line 84, in getMainAsset
asset.build(context)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-b3218d61c33d\cycles.py", line 95, in build
self.tree.build(context)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-b3218d61c33d\cycles.py", line 334, in build
self.buildDisplacementNodes(scn)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-b3218d61c33d\cycles.py", line 1057, in buildDisplacementNodes
mat.DazUseDisplacement = True
AttributeError: 'Material' object has no attribute 'DazUseDisplacement'
location: <unknown location>:-1
Comments (2)
-
repo owner -
reporter - changed status to resolved
Thank you, latest version fixes issue.
- Log in to comment
Sorry. I was purging unused code but apparently missed this. Should work now.