* Fixed TypeError in cum layer constructor
This commit is contained in:
LoafyLemon 2023-07-15 00:42:17 +01:00
parent 03db672299
commit 88a6b8941b

View File

@ -57,6 +57,10 @@ init python:
if part in face_layers: if part in face_layers:
zorder = face_layers.get(part) + 1 zorder = face_layers.get(part) + 1
identifier = active_faces.get(part, "default") identifier = active_faces.get(part, "default")
if not isinstance(identifier, str):
continue
path = posixpath.join(self.char.modpath, "characters", self.char.name, "poses", self.char.pose, subpath, "cum", part, name, identifier) path = posixpath.join(self.char.modpath, "characters", self.char.name, "poses", self.char.pose, subpath, "cum", part, name, identifier)
elif part in (clothing_layers | body_layers): elif part in (clothing_layers | body_layers):