LGTM: Remove superfluous conditional
This commit is contained in:
@@ -123,7 +123,7 @@ int TopoShapeSolidPy::PyInit(PyObject* args, PyObject* /*kwd*/)
|
||||
BRepBuilderAPI_MakeSolid mkSolid(compsolid);
|
||||
TopoDS_Solid solid = mkSolid.Solid();
|
||||
getTopoShapePtr()->setShape(solid);
|
||||
} else if (count > 1) {
|
||||
} else /*if (count > 1)*/ {
|
||||
Standard_Failure::Raise("Only one compsolid can be accepted. Provided shape has more than one compsolid.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user