mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024255: Regressions in test cases on OCCT vc9 win64 Release
Updated test-cases from branch CR24255_3 0024255: Regressions in test cases on OCCT vc9 win64 Release Small refactoring. Fix for CASE bugs modalg_5 bug25298_09: FAILED (error) Test-cases correction (bugs modalg_5 bugs25804_1, bug25704_2)
This commit is contained in:
@@ -36,6 +36,10 @@
|
||||
#include <TopoDS_Wire.hxx>
|
||||
|
||||
#include <StdFail_NotDone.hxx>
|
||||
#ifdef OCCT_DEBUG
|
||||
#include <BRepTools.hxx>
|
||||
static Standard_Boolean AffichSpine = Standard_False;
|
||||
#endif
|
||||
|
||||
//=======================================================================
|
||||
//function : BRepOffsetAPI_MakeOffset
|
||||
@@ -183,8 +187,20 @@ static void BuildDomains(TopoDS_Face& myFace,
|
||||
StdFail_NotDone::Raise ("BRepOffsetAPI_MakeOffset : Build Domains");
|
||||
}
|
||||
TopTools_ListOfShape Faces;
|
||||
#ifdef OCCT_DEBUG
|
||||
Standard_Integer ns = 0;
|
||||
#endif
|
||||
for (; FR.More(); FR.Next()) {
|
||||
Faces.Append(FR.Current());
|
||||
#ifdef OCCT_DEBUG
|
||||
if(AffichSpine)
|
||||
{
|
||||
char name[32];
|
||||
ns++;
|
||||
sprintf(name, "FR%d",ns);
|
||||
BRepTools::Write(FR.Current(), name);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
//===========================================
|
||||
|
Reference in New Issue
Block a user