Patch on regression that was introduced by fix on Bug PAL7444

This commit is contained in:
apo 2005-03-31 05:36:20 +00:00
parent 812bdd937f
commit 6c02d41866

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;