Correct previous integration

This commit is contained in:
dmv 2009-11-18 08:50:03 +00:00
parent f8703bcbef
commit a657a15f5f

View File

@ -2158,7 +2158,7 @@ SMESH_Gen_i::ConcatenateCommon(const SMESH::mesh_array& theMeshesArray,
// IPAL21468 Change icon of compound because it need not be computed. // IPAL21468 Change icon of compound because it need not be computed.
SALOMEDS::SObject_var aMeshSObj = ObjectToSObject( myCurrentStudy, aNewMesh ); SALOMEDS::SObject_var aMeshSObj = ObjectToSObject( myCurrentStudy, aNewMesh );
if(aMeshSObj) { if( !aMeshSObj->_is_nil() ) {
SALOMEDS::GenericAttribute_var anAttr; SALOMEDS::GenericAttribute_var anAttr;
SALOMEDS::StudyBuilder_var aBuilder = myCurrentStudy->NewBuilder(); SALOMEDS::StudyBuilder_var aBuilder = myCurrentStudy->NewBuilder();
anAttr = aBuilder->FindOrCreateAttribute( aMeshSObj,"AttributePixMap" ); anAttr = aBuilder->FindOrCreateAttribute( aMeshSObj,"AttributePixMap" );