]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0019936: EDF 794 SMESH : Export UNV : Node color and group id
authoreap <eap@opencascade.com>
Tue, 26 May 2009 05:20:18 +0000 (05:20 +0000)
committereap <eap@opencascade.com>
Tue, 26 May 2009 05:20:18 +0000 (05:20 +0000)
    write group label as <group ID>+1

src/DriverUNV/DriverUNV_W_SMDS_Mesh.cxx

index 57688633245572717bc03d3d188faa8506028583..7a4da5e92370de5accf86158924f1cf11a6196ac 100644 (file)
@@ -263,7 +263,9 @@ Driver_Mesh::Status DriverUNV_W_SMDS_Mesh::Perform()
              i++;
            }
          }
-         aDataSet2417.insert(TDataSet::value_type(aGroupDS->GetID(), aRec));
+          // 0019936: EDF 794 SMESH : Export UNV : Node color and group id
+         //aDataSet2417.insert(TDataSet::value_type(aGroupDS->GetID(), aRec));
+          aDataSet2417.insert(TDataSet::value_type(aGroupDS->GetID()+1, aRec));
        }
        UNV2417::Write(out_stream,aDataSet2417);
        myGroups.clear();