Patch on regression that was introduced by fix on Bug PAL7444

This commit is contained in:
apo 2005-03-31 05:37:51 +00:00
parent 83f19818fc
commit 0ad037c989

View File

@ -146,7 +146,10 @@ long SMESH_Gen_i::GetVolumeGroupsTag()
bool SMESH_Gen_i::CanPublishInStudy(CORBA::Object_ptr theIOR)
{
if(MYDEBUG) MESSAGE("CanPublishInStudy");
if(MYDEBUG) MESSAGE("CanPublishInStudy - "<<!CORBA::is_nil(myCurrentStudy));
if(CORBA::is_nil(myCurrentStudy))
return false;
SMESH::SMESH_Mesh_var aMesh = SMESH::SMESH_Mesh::_narrow(theIOR);
if( !aMesh->_is_nil() )
return true;