From: AMA <> Date: Sat, 14 Jan 2012 06:42:36 +0000 (+0000) Subject: 0021778: IGESControl_Writer does not take into account parameter write.iges.brep... X-Git-Tag: V6_5_3_beta1~128 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=06f3d6bca0d6562faab8e9a36129918efeb6600a;p=occt-copy.git 0021778: IGESControl_Writer does not take into account parameter write.iges.brep.mode --- diff --git a/src/IGESControl/IGESControl_Writer.cxx b/src/IGESControl/IGESControl_Writer.cxx index 408800c88c..ff29b75976 100755 --- a/src/IGESControl/IGESControl_Writer.cxx +++ b/src/IGESControl/IGESControl_Writer.cxx @@ -35,12 +35,13 @@ 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(); }