1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

Return to BREP format version 1 for shapes export

This commit is contained in:
jfa 2024-06-03 15:20:56 +01:00
parent a37b4a1a21
commit 3c11628f2c

View File

@ -263,7 +263,7 @@ public:
const Message_ProgressRange& theProgress = Message_ProgressRange())
{
Write (theShape, theStream, Standard_True, Standard_False,
TopTools_FormatVersion_CURRENT, theProgress);
TopTools_FormatVersion_VERSION_1, theProgress);
}
//! Writes the shape to the stream in an ASCII format of specified version.
@ -297,7 +297,7 @@ public:
const Message_ProgressRange& theProgress = Message_ProgressRange())
{
return Write (theShape, theFile, Standard_True, Standard_False,
TopTools_FormatVersion_CURRENT, theProgress);
TopTools_FormatVersion_VERSION_1, theProgress);
}
//! Writes the shape to the file in an ASCII format of specified version.