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

parent e5dca2a1
...@@ -159,6 +159,7 @@ class Source(CoreObject): ...@@ -159,6 +159,7 @@ 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
if G.Router:
# at the newly created entity to the pendingEntities # at the newly created entity to the pendingEntities
G.pendingEntities.append(activeEntity) G.pendingEntities.append(activeEntity)
......
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