Salome HOME
Mantis issue 0020422: EDF 1070 GEOM: Partition anomaly - REGRESSION from 4.1.x.
[modules/smesh.git] / src / DriverUNV / UNV2411_Structure.cxx
index 1d3707c6e5278d1ad0abc42dcf64a66399d3d216..de4964d4c2dc95788b7c06db0a8324cc4d70de8d 100644 (file)
@@ -19,8 +19,8 @@
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-#include <fstream>     
-#include <stdio.h>     
+#include <fstream>      
+#include <stdio.h>      
 
 #include "UNV2411_Structure.hxx"
 #include "UNV_Utilities.hxx"
@@ -29,18 +29,12 @@ using namespace std;
 using namespace UNV;
 using namespace UNV2411;
 
-#ifdef _DEBUG_
-static int MYDEBUG = 1;
-#else
-static int MYDEBUG = 0;
-#endif
-
 static string _label_dataset = "2411";
 
 UNV2411::TRecord::TRecord():
   exp_coord_sys_num(0),
   disp_coord_sys_num(0),
-  color(0)
+  color(11)//(0) -  0019936: EDF 794 SMESH : Export UNV : Node color and group id
 {}
 
 void UNV2411::Read(std::ifstream& in_stream, TDataSet& theDataSet)
@@ -104,17 +98,17 @@ void UNV2411::Write(std::ofstream& out_stream, const TDataSet& theDataSet)
     const TRecord& aRec = anIter->second;
     char buf[78];
     sprintf(buf, "%10d%10d%10d%10d\n", 
-           aLabel,
-           aRec.exp_coord_sys_num,
-           aRec.disp_coord_sys_num,
-           aRec.color);
+            aLabel,
+            aRec.exp_coord_sys_num,
+            aRec.disp_coord_sys_num,
+            aRec.color);
     out_stream<<buf;
 
     // the coordinates
     sprintf(buf, "%25.16E%25.16E%25.16E\n", 
-           aRec.coord[0],
-           aRec.coord[1],
-           aRec.coord[2]);
+            aRec.coord[0],
+            aRec.coord[1],
+            aRec.coord[2]);
     out_stream<<buf;
   }