1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0026522: Exception while copying offset on C0 surface

Removed check for C0 surface while copying offset surface

General code melioration

Test case for issue CR26522

Ignoring C0 basis surface while reading offset surface (added)
This commit is contained in:
anv
2015-09-10 14:27:50 +03:00
committed by bugmaster
parent 21cd37b462
commit 9f4cd8eb1b
4 changed files with 485 additions and 658 deletions

View File

@@ -924,7 +924,7 @@ static Standard_IStream& operator>>(Standard_IStream& IS,
GeomTools::GetReal(IS, O);
Handle(Geom_Surface) BS;
GeomTools_SurfaceSet::ReadSurface(IS,BS);
S = new Geom_OffsetSurface(BS,O);
S = new Geom_OffsetSurface(BS,O,Standard_True);
return IS;
}