mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
Fix IfcGeomServer build after c01263d721
This commit is contained in:
@@ -353,7 +353,7 @@ protected:
|
||||
// We remove the blanks here from the material array. I.e. materials without a diffuse color
|
||||
std::vector<boost::optional<std::array<float, 4> > > diffuse_color_array;
|
||||
for (auto it = geom->geometry().materials().begin(); it != geom->geometry().materials().end(); ++it) {
|
||||
const auto& mat = *it;
|
||||
const auto& mat = **it;
|
||||
if (mat.diffuse) {
|
||||
const auto& color = mat.diffuse.ccomponents();
|
||||
diffuse_color_array.push_back(std::array<float, 4>{
|
||||
|
||||
Reference in New Issue
Block a user