mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0025367: IGES and BRep persistence - support unicode file names on Windows
OSD_OpenFile.hxx header is created for using in file open operations with Unicode names. Fix for STEP files reading. Adding test cases for issue 25367 Update test case for issue 25364 Update test cases due to improvements
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include <Vrml_Instancing.hxx>
|
||||
#include <Vrml_Separator.hxx>
|
||||
#include <VrmlConverter_WFDeflectionShape.hxx>
|
||||
#include <OSD_OpenFile.hxx>
|
||||
|
||||
VrmlAPI_Writer::VrmlAPI_Writer()
|
||||
{
|
||||
@@ -216,7 +217,7 @@ void VrmlAPI_Writer::Write(const TopoDS_Shape& aShape,const Standard_CString aFi
|
||||
OSD_Path thePath(aFile);
|
||||
TCollection_AsciiString theFile;thePath.SystemName(theFile);
|
||||
ofstream outfile;
|
||||
outfile.open(theFile.ToCString(), ios::out);
|
||||
OSD_OpenStream(outfile, theFile.ToCString(), ios::out);
|
||||
Handle(VrmlConverter_IsoAspect) ia = new VrmlConverter_IsoAspect; // UIso
|
||||
Handle(VrmlConverter_IsoAspect) ia1 = new VrmlConverter_IsoAspect; //VIso
|
||||
ia->SetMaterial(myUisoMaterial);
|
||||
|
Reference in New Issue
Block a user