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 ) )
{
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];
}
}
////////////////////////////////////////////////////////////////////////////////
/*!
- \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)