replacing diffuse to get_color method

This commit is contained in:
Cristian Ritter
2024-08-20 11:44:20 -03:00
parent cd3df94a4b
commit d714eca4ee
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ IfcGeom::Representation::Serialization::Serialization(const BRep& brep)
int sid = -1;
if (it->hasStyle()) {
const auto& clr = it->Style().diffuse.ccomponents();
const auto& clr = it->Style().get_color().ccomponents();
surface_styles_.push_back(clr(0));
surface_styles_.push_back(clr(1));
surface_styles_.push_back(clr(2));