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