Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
812bdd9
)
Patch on regression that was introduced by fix on Bug PAL7444
author
apo
<apo@opencascade.com>
Thu, 31 Mar 2005 05:36:20 +0000
(
05:36
+0000)
committer
apo
<apo@opencascade.com>
Thu, 31 Mar 2005 05:36:20 +0000
(
05:36
+0000)
src/SMESH_I/SMESH_Gen_i_1.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i_1.cxx
b/src/SMESH_I/SMESH_Gen_i_1.cxx
index ac8641de2bd5858d9565ca42babe85209531ee41..d3c645941bb8bbf65da35314c8e06cc352d73426 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i_1.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i_1.cxx
@@
-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;