From: mpa Date: Wed, 2 Apr 2014 10:32:44 +0000 (+0400) Subject: Correction of mistakes: 0022537: EDF 2877 SMESH : wrong information about the numbre... X-Git-Tag: V7_4_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b314c31c85e29d4d797824f7e327efcc4a7d1ec4;p=modules%2Fsmesh.git Correction of mistakes: 0022537: EDF 2877 SMESH : wrong information about the numbre of nodes with polyhedra --- diff --git a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx index b0440bf05..2dca23bba 100644 --- a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx @@ -1865,7 +1865,7 @@ void SMESHGUI_TreeElemInfo::information( const QList& ids ) const SMDS_MeshNode** aNodeIds = vtool.GetFaceNodes( face_id ); const int nbNodes = vtool.NbFaceNodes( face_id ); for( int node_id = 0; node_id < nbNodes; node_id++ ) { - const SMDS_MeshNode* node = actor()->GetObject()->GetMesh()->FindNode( aNodeIds[node_id]->GetID() ); + const SMDS_MeshNode* node = aNodeIds[node_id]; nodeInfo( node, uniqueNodes.indexOf(node) + 1, aVtkVolume->NbUniqueNodes(), faceItem ); } }