Skip to content

Commit bc7041a

Browse files
committed
Set construction to subSurface
The gbXML reverse translator was assigning the subSurface's construction to it's parent surface rather than the subSurface itself. This change is to fix that issue.
1 parent 5b96162 commit bc7041a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstudiocore/src/gbxml/ReverseTranslator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ namespace gbxml {
680680
std::string constructionName = escapeName(constructionIdRef);
681681
boost::optional<model::ConstructionBase> construction = model.getModelObjectByName<model::ConstructionBase>(constructionName);
682682
if (construction){
683-
surface.setConstruction(*construction);
683+
subSurface.setConstruction(*construction);
684684
}
685685
}
686686

0 commit comments

Comments
 (0)