]> OCCT Git - occt.git/commitdiff
Return to BREP format version 1 for shapes export
authorjfa <jfa@opencascade.com>
Mon, 3 Jun 2024 14:20:56 +0000 (15:20 +0100)
committerjfa <jfa@opencascade.com>
Mon, 3 Jun 2024 14:20:56 +0000 (15:20 +0100)
src/BRepTools/BRepTools.hxx

index 579dc9244a2fb67b18d87735a1a1e68266a69836..f40d0fc1548b293b2687966911bd83fc8cddff80 100644 (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.