Commit a680e8a8 authored by Georgios Dagkakis's avatar Georgios Dagkakis

SubBatch to update parents sub-batch list in init

parent e01584d4
......@@ -246,7 +246,7 @@ class BatchDecomposition(CoreObject):
#===================================================================
G.EntityList.append(subBatch)
activeObjectQueue.append(subBatch) #append the sub-batch to the active object Queue
activeEntity.subBatchList.append(subBatch)
#activeEntity.subBatchList.append(subBatch)
subBatch.currentStation=self
# if the activeEntity is in the pendingEntities list then place the subBatches there
if activeEntity in G.pendingEntities:
......
......@@ -56,5 +56,5 @@ class SubBatch(Entity):
self.batchId=self.parentBatch.id
import Globals
self.receiver=Globals.findObjectById(receiver)
self.parentBatch.subBatchList.append(self)
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