mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0028564: Support of applications using old persistence (ShapeSchema)
* typo correction * set default driver for writing command
This commit is contained in:
@@ -42,7 +42,7 @@ static Standard_Integer DDocStd_ShapeSchema_Write(Draw_Interpretor& di,
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
NCollection_Handle<Storage_BaseDriver> aFileDriver;
|
NCollection_Handle<Storage_BaseDriver> aFileDriver(new FSD_File);
|
||||||
|
|
||||||
Standard_Boolean hasStorageDriver = Standard_False;
|
Standard_Boolean hasStorageDriver = Standard_False;
|
||||||
Standard_Integer iArgN = n - 1;
|
Standard_Integer iArgN = n - 1;
|
||||||
@@ -192,7 +192,7 @@ static Standard_Integer DDocStd_ShapeSchema_Read(Draw_Interpretor& di,
|
|||||||
aShapes.Append(aShape);
|
aShapes.Append(aShape);
|
||||||
}
|
}
|
||||||
|
|
||||||
di << "Info : " << aShapes.Length() << " shape(s) transleted\n";
|
di << "Info : " << aShapes.Length() << " shape(s) translated\n";
|
||||||
|
|
||||||
if (aShapes.Length() > 1)
|
if (aShapes.Length() > 1)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user