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
(parent:
f8703bc
)
Correct previous integration
author
dmv
<dmv@opencascade.com>
Wed, 18 Nov 2009 08:50:03 +0000
(08:50 +0000)
committer
dmv
<dmv@opencascade.com>
Wed, 18 Nov 2009 08:50:03 +0000
(08:50 +0000)
src/SMESH_I/SMESH_Gen_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i.cxx
b/src/SMESH_I/SMESH_Gen_i.cxx
index e51f8c578484561d8cee590255072be1c5eeb81b..899581804e70624205c88d31e152412faacb85dd 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i.cxx
@@
-2158,7
+2158,7
@@
SMESH_Gen_i::ConcatenateCommon(const SMESH::mesh_array& theMeshesArray,
// IPAL21468 Change icon of compound because it need not be computed.
SALOMEDS::SObject_var aMeshSObj = ObjectToSObject( myCurrentStudy, aNewMesh );
- if(
aMeshSObj
) {
+ if(
!aMeshSObj->_is_nil()
) {
SALOMEDS::GenericAttribute_var anAttr;
SALOMEDS::StudyBuilder_var aBuilder = myCurrentStudy->NewBuilder();
anAttr = aBuilder->FindOrCreateAttribute( aMeshSObj,"AttributePixMap" );