From: vsr Date: Tue, 22 Dec 2009 16:06:55 +0000 (+0000) Subject: Merge from BR_PARAVIS_DEV 17/12/2009 X-Git-Tag: V5_1_main_20100114~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d5b916d16fe429a235a26dc0689560c207bfff31;p=modules%2Fvisu.git Merge from BR_PARAVIS_DEV 17/12/2009 Add missing change for AttributeLocalID --- diff --git a/src/VISU_I/VISU_Result_i.cc b/src/VISU_I/VISU_Result_i.cc index 2ffa6bee..903a5f0b 100644 --- a/src/VISU_I/VISU_Result_i.cc +++ b/src/VISU_I/VISU_Result_i.cc @@ -385,11 +385,16 @@ VISU::Result_i SALOMEDS::GenericAttribute_var anAttr; SALOMEDS::AttributePixMap_var aPixmap; + SALOMEDS::AttributeLocalID_var aId; anAttr = aStudyBuilder->FindOrCreateAttribute( mySObject, "AttributePixMap" ); aPixmap = SALOMEDS::AttributePixMap::_narrow( anAttr ); aPixmap ->SetPixMap("ICON_TREE_RESULT"); + anAttr = aStudyBuilder->FindOrCreateAttribute( mySObject, "AttributeLocalID" ); + aId = SALOMEDS::AttributeLocalID::_narrow( anAttr ); + aId ->SetValue(VISU::TRESULT); + if(theIsBuildAll) return BuildAll(); return true;