LineGenerationJson, resources not initialized if already initialized

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