mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
Fix problem (internal 21002) - "MED file information" command is not shown in popup menu
This commit is contained in:
parent
c3c7609f27
commit
7bc441ba31
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user