1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0025534: TObj_Application unicode path issue.

This commit is contained in:
mpv
2016-09-05 13:27:40 +03:00
committed by bugmaster
parent f1fb0901d6
commit 1f9fb70723
6 changed files with 67 additions and 76 deletions

View File

@@ -159,7 +159,8 @@ static Standard_Integer newModel (Draw_Interpretor& di, Standard_Integer argc, c
if (!DDocStd::GetDocument(argv[1],D,Standard_False)) {
Handle(TObjDRAW_Model) aModel = new TObjDRAW_Model();
aModel->Load(0);
// initializes the new model: filename is empty
aModel->Load("");
D = aModel->GetDocument();
DD = new DDocStd_DrawDocument(D);
TDataStd_Name::Set(D->GetData()->Root(),argv[1]);