I can't merge geografts anymore

Issue #916 resolved
Jake created an issue

I don’t get what happened, just out of nowhere I’m unable to merge geograft objects together for absolutely no reason. I get this message when I try to do so:

Python: Traceback (most recent call last):
File "C:\Users\XXXXXXX\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\import_daz\error.py", line 208, in execute
self.run(context)
File "C:\Users\XXXXXXX\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\import_daz\merge.py", line 104, in run
self.mergeGeografts(context, ncverts, cob, grafts[ncverts])
File "C:\Users\XXXXXXX\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\import_daz\merge.py", line 129, in mergeGeografts
self.replaceTexco(aob)
File "C:\Users\XXXXXXX\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\import_daz\merge.py", line 291, in replaceTexco
for node in mat.node_tree.nodes:
AttributeError: 'NoneType' object has no attribute 'node_tree'

location: <unknown location>:-1

Worked just fine couple of days ago.

Comments (2)

  1. Thomas Larsson repo owner

    This happened if there is a hole in the list of materials. In the last commit such holes are ignored, here and in other places as well. Also, your line numbers differ from the latest development build, so you are not using the most recent version.

  2. Log in to comment