mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
#2805 syntax
This commit is contained in:
@@ -347,7 +347,7 @@ public:
|
|||||||
if (surface_style->Side() != IfcSchema::IfcSurfaceSide::IfcSurfaceSide_NEGATIVE) {
|
if (surface_style->Side() != IfcSchema::IfcSurfaceSide::IfcSurfaceSide_NEGATIVE) {
|
||||||
auto styles_elements = surface_style->Styles();
|
auto styles_elements = surface_style->Styles();
|
||||||
for (auto mt = styles_elements->begin(); mt != styles_elements->end(); ++mt) {
|
for (auto mt = styles_elements->begin(); mt != styles_elements->end(); ++mt) {
|
||||||
if ((*mt)->template as<T>())) {
|
if ((*mt)->template as<T>()) {
|
||||||
return std::make_pair(surface_style, (*mt)->as<T>());
|
return std::make_pair(surface_style, (*mt)->as<T>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user