]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
fix the previous revision
authoreap <eap@opencascade.com>
Mon, 3 Apr 2006 10:57:56 +0000 (10:57 +0000)
committereap <eap@opencascade.com>
Mon, 3 Apr 2006 10:57:56 +0000 (10:57 +0000)
src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx

index 014690fbe273d3efd8519307d5d89b9857d58782..11050be8bef795a9d7b6009a23363fe4bbe6e4bc 100644 (file)
@@ -74,7 +74,7 @@ Driver_Mesh::Status DriverUNV_R_SMDS_Mesh::Perform()
        const TElementLab& aLabel = anIter->first;
        const TRecord& aRec = anIter->second;
        if(IsBeam(aRec.fe_descriptor_id)) {
-          switch ( aRec.fe_descriptor_id.size() ) {
+          switch ( aRec.node_labels.size() ) {
           case 2: // edge with two nodes
             anElement = myMesh->AddEdgeWithID(aRec.node_labels[0],
                                               aRec.node_labels[1],