X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_SelectionProxy.cxx;h=38cde8a4db425c011a46beb7929d044f8ce6fe5c;hb=baad437937a7458cb806e3c8cf1537e8bd6108fc;hp=c4ab63629eec39c53ed1353b70e00c33f8dbccf3;hpb=341e363240adfbf291dbeeaa6ab989ffe46eb874;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx b/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx index c4ab63629..38cde8a4d 100644 --- a/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx +++ b/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -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)