material colours

This commit is contained in:
Thomas Krijnen
2020-07-28 13:39:14 +02:00
parent c01db8a86a
commit 606dbf7226
2 changed files with 12 additions and 0 deletions
@@ -34,6 +34,9 @@ bool ifcopenshell::geometry::kernels::AbstractKernel::convert_impl(const taxonom
}
for (auto i = s; i < r.size(); ++i) {
r[i].prepend(collection->matrix);
if (!r[i].hasStyle()) {
r[i].setStyle(collection->surface_style);
}
}
return r.size() > s;
}