-// 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
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];
}
}
{
if ( type() == GroupFilter )
// for group on filter we check if value is already computed and cached
- autoCompute |= group->IsNodeInfoAvailable();
+ autoCompute |= group->IsMeshInfoCorrect();
else
// for other groups we force autoCompute to true
autoCompute = true;
////////////////////////////////////////////////////////////////////////////////
/*!
- \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)