From 590eb59d7f6c2be40fb557589b3ee4f5b63065eb Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 9 Jul 2016 13:43:51 -0400 Subject: [PATCH] Fix redundant Responder wait generation --- korman/nodes/node_responder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/nodes/node_responder.py b/korman/nodes/node_responder.py index 40e6704..166e242 100644 --- a/korman/nodes/node_responder.py +++ b/korman/nodes/node_responder.py @@ -257,7 +257,7 @@ class PlasmaResponderCommandNode(PlasmaNodeBase, bpy.types.Node): # If we have child commands, we need to make sure that we support chaining this message as a callback # If not, we'll export our children and tell them to not actually wait on us. haveChildren = self.find_output("trigger", "PlasmaResponderCommandNode") is not None or \ - self.find_outputs("reenable") + self.find_output("reenable") is not None if msgNode.has_callbacks and haveChildren: childWaitOn = commandMgr.add_wait(idx) msgNode.convert_callback_message(exporter, so, msg, responder.key, childWaitOn)