From 9f2443e01c2d5ff0d386694fcc6f2bc3ac6d8dfc Mon Sep 17 00:00:00 2001 From: AlaaB2020 <56257353+AlaaB2020@users.noreply.github.com> Date: Wed, 26 Feb 2020 10:42:23 +0200 Subject: [PATCH] Update IfcGeomFunctions.cpp Changing comment to be suitable for the code change --- src/ifcgeom/IfcGeomFunctions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index e5e3fdfe64..2dc3017828 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -1418,8 +1418,8 @@ const IfcSchema::IfcMaterial* IfcGeom::Kernel::get_single_material_association(c IfcSchema::IfcMaterialSelect* associated_material = (*associated_materials->begin())->RelatingMaterial(); single_material = associated_material->as(); - // NB: Single-layer layersets are also considered, regardless of --enable-layerset-slicing, this - // in accordance with other viewers. + // NB: IfcMaterialLayerSets are also considered, regardless of --enable-layerset-slicing. Picking + // the first material (in accordance with other viewers) when layerset-slicing is disabled. if (!single_material && associated_material->as()) { IfcSchema::IfcMaterialLayerSet* layerset = associated_material->as()->ForLayerSet(); if (layerset->MaterialLayers()->size() >= 1) {