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:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user