1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0023748: Bad monitoring of intermediate results in offset commands

This commit is contained in:
nbv
2013-05-16 11:46:21 +04:00
parent ac29d56ac7
commit ab87e6fc2e
184 changed files with 2714 additions and 2170 deletions

View File

@@ -90,7 +90,13 @@ TopoDS_Shape BRepAlgo_Tool::Deboucle3D(const TopoDS_Shape& S,
NbSub++;
}
}
if (NbSub == 0) SS = TopoDS_Shape();
if (NbSub == 0)
{
#ifdef DEB
cout << "No subhape in shape!" << endl;
#endif
SS = TopoDS_Shape();
}
}
break;
default: