X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_SelectionProxy.cxx;h=f66c70ab0e73d61fff9831d59b506c2b01499bcc;hb=81dd6293459d01b01db558596cd0232f17d958df;hp=c4ab63629eec39c53ed1353b70e00c33f8dbccf3;hpb=341e363240adfbf291dbeeaa6ab989ffe46eb874;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx b/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx index c4ab63629..f66c70ab0 100644 --- a/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx +++ b/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx @@ -101,7 +101,7 @@ SMESH::SelectionProxy::SelectionProxy( const SelectionProxy& other ) void SMESH::SelectionProxy::init() { if ( myIO.IsNull() ) - myIO = new SALOME_InteractiveObject(); // create dummy IO to avoid crashes when accesing it + myIO = new SALOME_InteractiveObject(); // create dummy IO to avoid crashes when accessing it if ( !CORBA::is_nil( myObject ) ) { @@ -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]; } } @@ -1376,7 +1376,7 @@ void SMESH::MedInfo::setVersion( uint major, uint minor, uint release ) //////////////////////////////////////////////////////////////////////////////// /*! - \brief Contructor. Creates invalid position. + \brief Constructor. Creates invalid position. */ SMESH::Position::Position(): myShapeId(-1), myShapeType(-1), myU(0), myV(0), myHasU(false), myHasV(false)