mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0029723: Modeling Data - Get rid of second writing format (additional save of UV points)
Default BinTools_ShapeSet format version has been changed from 3 to 1. BinMNaming_NamedShapeDriver (Bin OCAF) now writes shapes in 1st version of Binary format instead of 3rd. XmlMNaming_NamedShapeDriver (Xml OCAF) now writes shapes in 1st version of ASCII format instead of 2nd. writebrep now by default writes into 1st binary format version instead of 3rd.
This commit is contained in:
@@ -1458,7 +1458,7 @@ static Standard_Integer writebrep (Draw_Interpretor& theDI,
|
||||
Handle(Draw_ProgressIndicator) aProgress = new Draw_ProgressIndicator (theDI);
|
||||
if (isBinaryFormat)
|
||||
{
|
||||
if (aVersion > BinTools_FormatVersion_CURRENT)
|
||||
if (aVersion > BinTools_FormatVersion_VERSION_3)
|
||||
{
|
||||
theDI << "Syntax error: unknown format version";
|
||||
return 1;
|
||||
@@ -1657,7 +1657,7 @@ void DBRep::BasicCommands(Draw_Interpretor& theCommands)
|
||||
"\n\t\t: -binary write into the binary format (ASCII when unspecified)"
|
||||
"\n\t\t: -version a number of format version to save;"
|
||||
"\n\t\t: ASCII versions: 1, 2 (1 for ASCII when unspecified);"
|
||||
"\n\t\t: Binary versions: 1, 2 and 3 (3 for Binary when unspecified)."
|
||||
"\n\t\t: Binary versions: 1, 2 and 3 (1 for Binary when unspecified)."
|
||||
"\n\t\t: -noTriangles skip triangulation data (OFF when unspecified).",
|
||||
__FILE__, writebrep, g);
|
||||
theCommands.Add("readbrep",
|
||||
|
Reference in New Issue
Block a user