forked from SilverStudioGames/WTS
Bug fix
* Fixed TypeError in cum layer constructor
This commit is contained in:
parent
03db672299
commit
88a6b8941b
@ -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):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user