From d5b916d16fe429a235a26dc0689560c207bfff31 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 22 Dec 2009 16:06:55 +0000 Subject: [PATCH] Merge from BR_PARAVIS_DEV 17/12/2009 Add missing change for AttributeLocalID --- src/VISU_I/VISU_Result_i.cc | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.39.2