Fix problem (internal 21002) - "MED file information" command is not shown in popup menu

This commit is contained in:
vsr 2009-04-02 09:32:03 +00:00
parent c3c7609f27
commit 7bc441ba31

View File

@ -512,7 +512,6 @@ bool SMESHGUI_Selection::isImported( const int ind ) const
QString e = entry( ind ); QString e = entry( ind );
_PTR(SObject) SO = SMESH::GetActiveStudyDocument()->FindObjectID( e.toLatin1().constData() ); _PTR(SObject) SO = SMESH::GetActiveStudyDocument()->FindObjectID( e.toLatin1().constData() );
bool res = false; bool res = false;
/*
if( SO ) if( SO )
{ {
SMESH::SMESH_Mesh_var aMesh = SMESH::SMESH_Mesh::_narrow( SMESH::SObjectToObject( SO ) ); SMESH::SMESH_Mesh_var aMesh = SMESH::SMESH_Mesh::_narrow( SMESH::SObjectToObject( SO ) );
@ -522,7 +521,6 @@ bool SMESHGUI_Selection::isImported( const int ind ) const
res = strlen( (char*)inf->fileName ) > 0; res = strlen( (char*)inf->fileName ) > 0;
} }
} }
*/
return res; return res;
} }