mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
Correct previous integration
This commit is contained in:
parent
f8703bcbef
commit
a657a15f5f
@ -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" );
|
||||
|
Loading…
Reference in New Issue
Block a user