Reintroduce materials in nrcan_constructions.json
This commit is contained in:
parent
22f9670650
commit
96d07a28a0
4
main.py
4
main.py
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user