0023551: Move data models contained in samples subfolder of OCCT repository to common data folder

Data files from mfc samples were moved to $CASROOT/data directory.
This commit is contained in:
ski
2014-11-06 12:39:12 +03:00
committed by apn
parent 92345dc222
commit 59edf905b1
33 changed files with 20 additions and 172083 deletions

View File

@@ -4965,8 +4965,9 @@ void CModelingDoc::InputEvent(const Standard_Integer /*x*/,
L"Points Files (*.pass)|*.pass; |All Files (*.*)|*.*||",
NULL);
CString initdir(((OCC_App*) AfxGetApp())->GetInitDataDir());
initdir += L"\\Data\\TangentSurface";
CString initdir;
initdir.GetEnvironmentVariable (L"CSF_OCCTDataPath");
initdir += L"\\occ";
dlg.m_ofn.lpstrInitialDir = initdir;