]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
MPV: fix for IPAL13165. Name of label must be dumped with the table.
authormpv <mpv@opencascade.com>
Fri, 12 Jan 2007 13:58:53 +0000 (13:58 +0000)
committermpv <mpv@opencascade.com>
Fri, 12 Jan 2007 13:58:53 +0000 (13:58 +0000)
src/VISU_I/VISU_DumpPython.cc

index 64ac9f50f372946a86cb9c3d430adb669401e3b1..0806825c6b5e51c3842a33bef13bee7c4a67325a 100644 (file)
@@ -340,6 +340,7 @@ namespace VISU
     theStr<<thePrefix<<"if "<<aSObjectName<<":"<<endl;
     thePrefix += PREFIX;
 
+    theStr<<thePrefix<<"aBuilder.SetName("<<aSObjectName<<", \""<<theSObject->GetName()<<"\")"<<endl; // Fix for IPAL13165
     std::string aName = "aTableAttr";
     theStr<<thePrefix<<aName<<" = aBuilder.FindOrCreateAttribute("<<
       aSObjectName<<",'"<<theAttrName<<"')"<<endl;