1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

Final updates before release

- Update of mfc samples
- Adjustment of test cases
- Update of CSharp sample (lost button added)
- Corrected paths to data files in 07_Triangulation mfc sample
- Update of overview (Requirements section)
- Update of upgrade guide (changes in modeling algorithms)
This commit is contained in:
bugmaster
2015-12-24 17:33:34 +03:00
committed by abv
parent 7ed7467da3
commit 3554ea68da
7 changed files with 57 additions and 73 deletions

View File

@@ -142,7 +142,7 @@ Handle(AIS_TexturedShape) TexturesExt_Presentation::Texturize(const TopoDS_Shape
// load texture from file if it is not an integer value
// integer value indicates a number of texture in predefined TexturesExt enumeration
CString initfile(((OCC_App*) AfxGetApp())->GetInitDataDir());
initfile += "\\..\\..\\..\\samples\\mfc\\standard\\04_Viewer3d\\Data\\";
initfile += "..\\..\\..\\04_Viewer3d\\Data\\";
if (!aTFileName.IsIntegerValue())
{
initfile += aTFileName.ToCString();
@@ -172,7 +172,7 @@ Standard_Boolean TexturesExt_Presentation::loadShape(TopoDS_Shape& aShape,
{
// create a TopoDS_Shape -> read from a brep file
CString initfile(((OCC_App*) AfxGetApp())->GetInitDataDir());
initfile += "\\..\\..\\..\\samples\\mfc\\standard\\04_Viewer3d\\Data\\";
initfile += "..\\..\\..\\04_Viewer3d\\Data\\";
initfile += aFileName.ToCString();
std::filebuf aFileBuf;