]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Merge from BR_PARAVIS_DEV 17/12/2009
authorvsr <vsr@opencascade.com>
Tue, 22 Dec 2009 16:06:55 +0000 (16:06 +0000)
committervsr <vsr@opencascade.com>
Tue, 22 Dec 2009 16:06:55 +0000 (16:06 +0000)
Add missing change for AttributeLocalID

src/VISU_I/VISU_Result_i.cc

index 2ffa6bee0612aa811db43c38e62b64f6765059e1..903a5f0b52640467eccd6154319045b78272c017 100644 (file)
@@ -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;