Import Error on Blender 2.92 and 2.93

Issue #449 resolved
goodwillsoft created an issue

Importing on Blender 2.92 works,

but on Blender 2.93, this error is thrown:

Python: Traceback (most recent call last):
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-a1885f6bdeaa\error.py", line 247, in execute
self.run(context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-a1885f6bdeaa\main.py", line 114, in run
self.loadDazFile(filepath, context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-a1885f6bdeaa\main.py", line 221, in loadDazFile
asset.postbuild()
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-a1885f6bdeaa\cycles.py", line 106, in postbuild
self.correctBumpArea(area)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-a1885f6bdeaa\cycles.py", line 126, in correctBumpArea
width,height = img.size
AttributeError: 'ShaderNodeTree' object has no attribute 'size'

To narrow it down, blender 2.92 diffeomorphic 1.60.0118 works fine,

blender 2.93, diffeomorphic 1.60.0143 throws this error

UPDATE:

on Diffeomorphic 1.60.00183 the Error changed to:

Python: Traceback (most recent call last):
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-7b52f9c92036\error.py", line 247, in execute
self.run(context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-7b52f9c92036\main.py", line 117, in run
self.loadDazFile(filepath, context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-7b52f9c92036\main.py", line 223, in loadDazFile
asset.postbuild()
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-7b52f9c92036\cycles.py", line 107, in postbuild
self.tree.prune()
AttributeError: 'NoneType' object has no attribute 'prune'

Comments (6)

  1. Thomas Larsson repo owner

    Should work now. At least this time the error was comprehensible, although I wonder what kind of material would not have a node tree.

  2. Log in to comment