We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f9d418 commit c3adcf6Copy full SHA for c3adcf6
1 file changed
src/ifcgeomserver/IfcGeomServer.cpp
@@ -443,7 +443,7 @@ class QuantityWriter_v1 : public EntityExtension {
443
444
for (auto& part : elem->geometry()) {
445
TopExp_Explorer exp(part.Shape(), TopAbs_FACE);
446
- while (exp.More()) {
+ for (; exp.More(); exp.Next()) {
447
GProp_GProps prop;
448
BRepGProp::SurfaceProperties(exp.Current(), prop);
449
const double area = prop.Mass();
0 commit comments