Salome HOME
Issue 0020324: EDF 717 GEOM : Import IGES File
authorvsr <vsr@opencascade.com>
Tue, 15 Sep 2009 13:05:29 +0000 (13:05 +0000)
committervsr <vsr@opencascade.com>
Tue, 15 Sep 2009 13:05:29 +0000 (13:05 +0000)
src/IGESExport/IGESExport.cxx

index 0218bef973583c92cfc04bec5eb2efe4f14f76d3..4f9232118f9b9063efa54604e87ea81ea006d27e 100644 (file)
@@ -77,7 +77,7 @@ IGESEXPORT_EXPORT
       IGESControl_Controller::Init();
       //IGESControl_Writer ICW (Interface_Static::CVal("write.iges.unit"),
       //                       Interface_Static::IVal("write.iges.brep.mode"));
-      IGESControl_Writer ICW (Interface_Static::CVal("write.iges.unit"), aBrepMode);
+      IGESControl_Writer ICW ("M", aBrepMode); // "write.iges.unit" ->> VSR 15.09.09: export explicitly in meters
 
       // perform shape writing
       ICW.AddShape( theShape );