fix coverity issues
This commit is contained in:
parent
af62262021
commit
463106cb59
|
@ -194,7 +194,7 @@ bool DlgBooleanOperation::hasSolids(const App::DocumentObject* obj) const
|
|||
if (obj->getTypeId().isDerivedFrom(Part::Feature::getClassTypeId())) {
|
||||
const TopoDS_Shape& shape = static_cast<const Part::Feature*>(obj)->Shape.getValue();
|
||||
TopExp_Explorer anExp (shape, TopAbs_SOLID);
|
||||
for (; anExp.More(); anExp.Next()) {
|
||||
if (anExp.More()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user