LineGenerationJson, resources not initialized if already initialized

parent aefcd85d
...@@ -873,7 +873,8 @@ def initializeObjects(): ...@@ -873,7 +873,8 @@ def initializeObjects():
for element in G.ObjList: for element in G.ObjList:
element.initialize() element.initialize()
for repairman in G.ModelResourceList: for repairman in G.ModelResourceList:
repairman.initialize() if not repairman.isInitialized():
repairman.initialize()
for entity in G.EntityList: for entity in G.EntityList:
entity.initialize() entity.initialize()
for ev in G.EventGeneratorList: for ev in G.EventGeneratorList:
......
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