OrderDecomposition updated to cooperate with OperatorRouter

parent d0d1a9eb
......@@ -173,6 +173,9 @@ class OrderDecomposition(CoreObject):
if entity.type=='Order':
self.orderToBeDecomposed=entity
activeObjectQueue.remove(entity) #remove the order from the internal Queue
# if the entity is in G.pendingEntities list remove it from there
if entity in G.pendingEntities:
G.pendingEntities.remove(entity)
#append the components in the internal queue
for component in entity.componentsList:
self.createOrderComponent(component)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment