mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
023263: Incorrect results displaying of QA command BUC60811 using "printf"
Modified command BUC60811
This commit is contained in:
parent
074028c646
commit
c281a4a4a1
@ -1237,11 +1237,13 @@ static Standard_Integer BUC60811(Draw_Interpretor& di, Standard_Integer argc, co
|
|||||||
Ex.Init(FP, TopAbs_VERTEX);
|
Ex.Init(FP, TopAbs_VERTEX);
|
||||||
TopoDS_Vertex v1 = TopoDS::Vertex(Ex.Current());
|
TopoDS_Vertex v1 = TopoDS::Vertex(Ex.Current());
|
||||||
fillet.AddFillet(v1, 20);
|
fillet.AddFillet(v1, 20);
|
||||||
printf("\nError is %d ", fillet.Status());
|
di << "\n" << "Error is " << fillet.Status() << "\n";
|
||||||
|
// printf("\nError is %d ", fillet.Status());
|
||||||
Ex.Next();
|
Ex.Next();
|
||||||
TopoDS_Vertex V2 = TopoDS::Vertex(Ex.Current());
|
TopoDS_Vertex V2 = TopoDS::Vertex(Ex.Current());
|
||||||
fillet.AddFillet(V2, 20);
|
fillet.AddFillet(V2, 20);
|
||||||
printf("\nError is %d ", fillet.Status());
|
di << "\n" << "Error is " << fillet.Status() << "\n";
|
||||||
|
// printf("\nError is %d ", fillet.Status());
|
||||||
fillet.Build();
|
fillet.Build();
|
||||||
FP1 = fillet.Shape();
|
FP1 = fillet.Shape();
|
||||||
ais2 = new AIS_Shape( FP1 );
|
ais2 = new AIS_Shape( FP1 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user