Correct small bug in material archetype assignation

This commit is contained in:
Guille Gutierrez 2022-05-26 20:35:59 -04:00
parent abbc0d966d
commit e43c366036

View File

@ -105,7 +105,8 @@ class UsPhysicsParameters(NrelPhysicsInterface):
layer.thickness = layer_archetype.thickness layer.thickness = layer_archetype.thickness
material = Material() material = Material()
archetype_material = layer_archetype.material archetype_material = layer_archetype.material
material.name = layer_archetype.name material.name = archetype_material.name
material.id = archetype_material.id
material.no_mass = archetype_material.no_mass material.no_mass = archetype_material.no_mass
if archetype_material.no_mass: if archetype_material.no_mass:
material.thermal_resistance = archetype_material.thermal_resistance material.thermal_resistance = archetype_material.thermal_resistance