Browse Source

Fix #139

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

6
korman/nodes/node_avatar.py

@ -62,8 +62,8 @@ class PlasmaSittingBehaviorNode(PlasmaNodeBase, bpy.types.Node):
sitmod = self.get_key(exporter, so).object sitmod = self.get_key(exporter, so).object
for flag in self.approach: for flag in self.approach:
sitmod.miscFlags |= getattr(plSittingModifier, flag) sitmod.miscFlags |= getattr(plSittingModifier, flag)
for key in self.find_outputs("satisfies"): for i in self.find_outputs("satisfies"):
if key is not None: if i is not None:
sitmod.addNotifyKey(key) sitmod.addNotifyKey(i.get_key(exporter, so))
else: 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