Import: [skip ci] fixes #0004477: Can't import .STEP files with cyrillic symbols
This commit is contained in:
@@ -991,7 +991,8 @@ void TopoShape::exportStep(const char *filename) const
|
||||
throw Base::FileException("Error in transferring STEP");
|
||||
|
||||
APIHeaderSection_MakeHeader makeHeader(aWriter.Model());
|
||||
makeHeader.SetName(new TCollection_HAsciiString((Standard_CString)(encodeFilename(filename).c_str())));
|
||||
// https://forum.freecadweb.org/viewtopic.php?f=8&t=52967
|
||||
//makeHeader.SetName(new TCollection_HAsciiString((Standard_CString)(encodeFilename(filename).c_str())));
|
||||
makeHeader.SetAuthorValue (1, new TCollection_HAsciiString("FreeCAD"));
|
||||
makeHeader.SetOrganizationValue (1, new TCollection_HAsciiString("FreeCAD"));
|
||||
makeHeader.SetOriginatingSystem(new TCollection_HAsciiString("FreeCAD"));
|
||||
|
||||
Reference in New Issue
Block a user