mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
If material name is empty when writing collada file, name it as a missing material. Logger::Notice() objects that do not have a material assigned.
This commit is contained in:
committed by
Thomas Krijnen
parent
fe1cb9e92b
commit
e7a8a97639
@@ -1455,6 +1455,9 @@ IfcGeom::BRepElement<P>* IfcGeom::Kernel::create_brep_for_representation_and_pro
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
Logger::Notice("Object '" + product->Name() + "' (guid " + product->GlobalId() + " ) has no material!");
|
||||
}
|
||||
|
||||
if (material_style_applied) {
|
||||
representation_id_builder << "-material-" << single_material->entity->id();
|
||||
|
||||
Reference in New Issue
Block a user