mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0023730: Statement has no effect in DNaming_RevolutionDriver.cxx
This commit is contained in:
parent
9786a9af2b
commit
9e3758ca29
@ -327,10 +327,7 @@ static Standard_Boolean HasDangle(const TopoDS_Shape& ShapeIn)
|
|||||||
return Standard_False;
|
return Standard_False;
|
||||||
else if (ShapeIn.ShapeType() == TopAbs_SHELL) {
|
else if (ShapeIn.ShapeType() == TopAbs_SHELL) {
|
||||||
Handle(BRepCheck_Shell) aCheck = new BRepCheck_Shell(TopoDS::Shell(ShapeIn));
|
Handle(BRepCheck_Shell) aCheck = new BRepCheck_Shell(TopoDS::Shell(ShapeIn));
|
||||||
if(aCheck->Closed() == BRepCheck_NoError)
|
return aCheck->Closed() != BRepCheck_NoError;
|
||||||
return Standard_False;
|
|
||||||
else
|
|
||||||
Standard_True;
|
|
||||||
} else if (ShapeIn.ShapeType() == TopAbs_FACE ||
|
} else if (ShapeIn.ShapeType() == TopAbs_FACE ||
|
||||||
ShapeIn.ShapeType() == TopAbs_WIRE ||
|
ShapeIn.ShapeType() == TopAbs_WIRE ||
|
||||||
ShapeIn.ShapeType() == TopAbs_EDGE ||
|
ShapeIn.ShapeType() == TopAbs_EDGE ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user