From 8255b5e32fbfda42463487d3e3699762adbacf82 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 29 Oct 2012 11:54:32 +0000 Subject: [PATCH] Remove bad implementation of "position" parameter for mesh elements causing SIGSEGV --- src/SMESHGUI/SMESHGUI_MeshInfo.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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 ) ); } } + */ } } } -- 2.30.2