Create UDIM's error... with a fix.

Issue #14 closed
Hardwire created an issue

Every time i do as follows

import DAZ File > Save Local Textures > Merge Anatomy > Make UDIM Materials

I recieve the following error


Traceback (most recent call last):
File "C:\Users\Miranda\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-533096e964ad\udim.py", line 70, in invoke
item.bool = self.isUdimMaterial(mat)
File "C:\Users\Miranda\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-533096e964ad\udim.py", line 83, in isUdimMaterial
return (getSkinMaterial(mat)[0] in ["Skin", "Red", "Teeth"])
TypeError: 'NoneType' object is not subscriptable

location: <unknown location>:-1


After some messing around this is the following order that works without producing athe error.

import DAZ File > Save Local Textures > Make UDIM Materials > Merge Anatomy

Comments (1)

  1. Hardwire reporter

    I just managed to glance at the bottom of the UDIM page and notice that's where it specifically says to merge anatomy. This can be deleted. My bad.

  2. Log in to comment