]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
0020086: EDF 881 VISU : Rename a gauss point presentation
authordmv <dmv@opencascade.com>
Mon, 29 Dec 2008 12:51:22 +0000 (12:51 +0000)
committerdmv <dmv@opencascade.com>
Mon, 29 Dec 2008 12:51:22 +0000 (12:51 +0000)
src/VISUGUI/VisuGUI.cxx

index 0c9e161542a0be2ad6389e00db4782c193ccde3d..217bc494d850ca670056d0e4a1891e90e10dd268 100644 (file)
@@ -741,7 +741,8 @@ void
 VisuGUI
 ::OnCreateDeformedShape()
 {
-  Prs3d_i* aPrs = CreatePrs3d<VISU::DeformedShape_i,VisuGUI_DeformedShapeDlg,1>(this);
+  //  CreatePrs3d<VISU::DeformedShape_i,VisuGUI_DeformedShapeDlg,1>(this);
+  Prs3d_i* aPrs = VisuGUI_DeformedShapeDlg::CreatePrs3d(this);
   if (aPrs)
     emit presentationCreated(aPrs);
 }
@@ -1830,7 +1831,7 @@ VisuGUI
         aStr == "VISU::TSCALARMAPONDEFORMEDSHAPE" || aStr == "VISU::TCOLOREDPRS3DHOLDER" ||
         aStr == "VISU::TTABLE" || aStr == "VISU::TCURVE" || aStr == "VISU::TCONTAINER" ||
         aStr == "VISU::POINTMAP3D" || aStr == "VISU::TVIEW3D" ||
-        aStr == "VISU::TMESH" || aStr == "VISU::TPOINTMAP3D")
+        aStr == "VISU::TMESH" || aStr == "VISU::TPOINTMAP3D" || aStr == "VISU::TGAUSSPOINTS")
     {
       _PTR(GenericAttribute) anAttr;
       if (aSObject->FindAttribute(anAttr, "AttributeName")) {