Skip to content

Commit c3adcf6

Browse files
committed
Fix previous commit
1 parent 7f9d418 commit c3adcf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ifcgeomserver/IfcGeomServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ class QuantityWriter_v1 : public EntityExtension {
443443

444444
for (auto& part : elem->geometry()) {
445445
TopExp_Explorer exp(part.Shape(), TopAbs_FACE);
446-
while (exp.More()) {
446+
for (; exp.More(); exp.Next()) {
447447
GProp_GProps prop;
448448
BRepGProp::SurfaceProperties(exp.Current(), prop);
449449
const double area = prop.Mass();

0 commit comments

Comments
 (0)