Reintroduce materials in nrcan_constructions.json

This commit is contained in:
Guille Gutierrez 2023-02-22 08:09:34 -05:00
parent 22f9670650
commit 96d07a28a0

View File

@ -16,7 +16,9 @@ with open(c.transparent_surfaces_path, 'r') as f:
os.remove(str(c.opaque_surfaces_path))
os.remove(str(c.transparent_surfaces_path))
constructions = dict(opaque_surfaces=opaque['opaque_surfaces'], transparent_surfaces=transparent['transparent_surfaces'])
constructions = dict(opaque_surfaces=opaque['opaque_surfaces'],
transparent_surfaces=transparent['transparent_surfaces'],
materials=opaque['materials'])
with open(c.nrcan_constructions, 'w') as f:
json.dump(constructions, f, indent=2)