Source, if no router is available, the pendingEntities list is not populated by the source

parent e5dca2a1
...@@ -159,8 +159,9 @@ class Source(CoreObject): ...@@ -159,8 +159,9 @@ class Source(CoreObject):
from Globals import G from Globals import G
assert entity, 'cannot append None entity' assert entity, 'cannot append None entity'
activeEntity=entity activeEntity=entity
# at the newly created entity to the pendingEntities if G.Router:
G.pendingEntities.append(activeEntity) # at the newly created entity to the pendingEntities
G.pendingEntities.append(activeEntity)
#============================================================================ #============================================================================
# sets the routing out element for the Source # sets the routing out element for the Source
......
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