From: vsr Date: Mon, 29 Oct 2012 11:54:32 +0000 (+0000) Subject: Remove bad implementation of "position" parameter for mesh elements causing SIGSEGV X-Git-Tag: V6_6_0b1~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8255b5e32fbfda42463487d3e3699762adbacf82;p=modules%2Fsmesh.git Remove bad implementation of "position" parameter for mesh elements causing SIGSEGV --- diff --git a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx index 819684343..3b90ce6d6 100644 --- a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx @@ -1105,6 +1105,7 @@ void SMESHGUI_SimpleElemInfo::information( const QList& ids ) afunctor->SetMesh( actor()->GetObject()->GetMesh() ); myInfo->append( QString( "- %1: %2" ).arg( tr( "MAX_ELEMENT_LENGTH_3D" ) ).arg( afunctor->GetValue( id ) ) ); } + /* if( e->GetType() >= SMDSAbs_Edge && e->GetType() <= SMDSAbs_Volume ) { // separator myInfo->append( "" ); @@ -1121,6 +1122,7 @@ void SMESHGUI_SimpleElemInfo::information( const QList& ids ) myInfo->append( QString( "%1: %2 #%3" ).arg( tr( "Position" ) ).arg( shapeType ).arg( shapeID ) ); } } + */ } // separator if ( ids.count() > 1 ) { @@ -1539,6 +1541,7 @@ void SMESHGUI_TreeElemInfo::information( const QList& ids ) diam3Item->setText( 0, tr( "MAX_ELEMENT_LENGTH_3D" ) ); diam3Item->setText( 1, QString( "%1" ).arg( afunctor->GetValue( id ) ) ); } + /* if( e->GetType() >= SMDSAbs_Edge && e->GetType() <= SMDSAbs_Volume ) { //shapeID int shapeID = e->getshapeId(); @@ -1555,6 +1558,7 @@ void SMESHGUI_TreeElemInfo::information( const QList& ids ) shItem->setText( 1, QString( "%1 #%2" ).arg(shapeType).arg( shapeID ) ); } } + */ } } }