mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
Patch on regression that was introduced by fix on Bug PAL7444
This commit is contained in:
parent
83f19818fc
commit
0ad037c989
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user