Browse Source

Fix #139

pull/152/head
Adam Johnson 6 years ago
parent
commit
715079f930
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 8
      korman/nodes/node_avatar.py

8
korman/nodes/node_avatar.py

@ -62,8 +62,8 @@ class PlasmaSittingBehaviorNode(PlasmaNodeBase, bpy.types.Node):
sitmod = self.get_key(exporter, so).object
for flag in self.approach:
sitmod.miscFlags |= getattr(plSittingModifier, flag)
for key in self.find_outputs("satisfies"):
if key is not None:
sitmod.addNotifyKey(key)
for i in self.find_outputs("satisfies"):
if i is not None:
sitmod.addNotifyKey(i.get_key(exporter, so))
else:
exporter.report.warn(" '{}' Node '{}' doesn't expose a key. It won't be triggered by '{}'!".format(i.bl_idname, i.name, self.name), indent=3)
exporter.report.warn("'{}' Node '{}' doesn't expose a key. It won't be triggered by '{}'!".format(i.bl_idname, i.name, self.name), indent=3)

Loading…
Cancel
Save