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

0029526: Test Harness command "ReadIges" does not support "read.iges.onlyvisible" mode

Modification Test Harness command "ReadIges" to take into account value of the parameter "read.iges.onlyvisible" was made.
This commit is contained in:
gka
2018-02-27 13:50:47 +03:00
committed by bugmaster
parent 41ea50ac6f
commit 0575de6d7e
3 changed files with 15 additions and 3 deletions

View File

@@ -60,7 +60,8 @@ IGESControl_Reader::IGESControl_Reader ()
IGESControl_Controller::Init();
SetWS (new XSControl_WorkSession);
SetNorm("IGES");
theReadOnlyVisible = Standard_False;
Standard_Integer onlyvisible = Interface_Static::IVal("read.iges.onlyvisible");
theReadOnlyVisible = (onlyvisible == 1);
}
@@ -75,8 +76,9 @@ IGESControl_Reader::IGESControl_Reader
IGESControl_Controller::Init();
SetWS (WS,scratch);
SetNorm ("IGES");
theReadOnlyVisible = Standard_False;
}
Standard_Integer onlyvisible = Interface_Static::IVal("read.iges.onlyvisible");
theReadOnlyVisible = (onlyvisible == 1);
}
//=======================================================================