0021778: IGESControl_Writer does not take into account parameter write.iges.brep...
authorAMA <>
Sat, 14 Jan 2012 06:42:36 +0000 (06:42 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:31:59 +0000 (19:31 +0400)
src/IGESControl/IGESControl_Writer.cxx

index 408800c..ff29b75 100755 (executable)
 IGESControl_Writer::IGESControl_Writer ()
     :  theTP (new Transfer_FinderProcess(10000)) ,
        thedit (IGESSelect_WorkLibrary::DefineProtocol()) ,
-       thecr (0) , thest (Standard_False)
+       thest (Standard_False)
 {
 //  faudrait aussi (?) prendre les parametres par defaut ... ?
   IGESControl_Controller::Init();
   thedit.SetUnitName(Interface_Static::CVal ("write.iges.unit"));
   thedit.ApplyUnit(); 
+  thecr = Interface_Static::IVal ("write.iges.brep.mode");
   themod = thedit.Model();
 }