Salome HOME
IPAL54614: Getting nodes of polyhedron works wrong
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_SelectionProxy.cxx
index 5d9c2b9613d3c22c97034a65a3352a5bd6e9eb17..f66c70ab0e73d61fff9831d59b506c2b01499bcc 100644 (file)
@@ -754,7 +754,7 @@ bool SMESH::SelectionProxy::perFaceConnectivity( int id, Connectivity& connectiv
           SMESH::long_array_var nodes = mesh->GetElemFaceNodes( id, iF );
           for ( CORBA::ULong iN = 0; iN < nodes->length(); ++iN )
           {
-            connectivity[ iF ] << nodes[iN];
+            connectivity[ iF+1 ] << nodes[iN];
             nodeSet << nodes[iN];
           }
         }