mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027880: Samples - fix handling of Unicode paths within MFC import/export sample
This commit is contained in:
@@ -143,8 +143,7 @@ Handle(AIS_TexturedShape) TexturesExt_Presentation::Texturize(const TopoDS_Shape
|
||||
initfile += aTFileName.ToCString();
|
||||
}
|
||||
|
||||
TCollection_ExtendedString aFileName ((Standard_ExtString )(const wchar_t* )initfile);
|
||||
aTShape->SetTextureFileName (TCollection_AsciiString (aFileName, '?'));
|
||||
aTShape->SetTextureFileName (TCollection_AsciiString ((const wchar_t* )initfile));
|
||||
|
||||
// do other initialization of AIS_TexturedShape
|
||||
aTShape->SetTextureMapOn();
|
||||
|
Reference in New Issue
Block a user