]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix to display VISU::TPOINTMAP3D object as TTABLE one if Plot2D is an active viewer.
authorakl <akl@opencascade.com>
Fri, 22 Aug 2008 16:28:14 +0000 (16:28 +0000)
committerakl <akl@opencascade.com>
Fri, 22 Aug 2008 16:28:14 +0000 (16:28 +0000)
src/VISUGUI/VisuGUI.cxx

index 202faadc735a68f5e6928e7efa335ed4bf1e6ed8..3d7fcc0f79166f5529695ae61fd473fdef683f3e 100644 (file)
@@ -810,18 +810,18 @@ VisuGUI
 
     VISU::VISUType aType = aBase->GetType();
     switch (aType) {
-    case VISU::TCURVE:
-    case VISU::TCONTAINER:
-    case VISU::TTABLE:
-      displayer()->Display(anIO->getEntry());
-      break;
     case VISU::TPOINTMAP3D:
       if(SVTK_ViewWindow* aViewWindow = GetActiveViewWindow<SVTK_ViewWindow>(this)){
        displayer()->Display(anIO->getEntry());
        aViewWindow->highlight(anIO, 1);
        aViewWindow->getRenderer()->ResetCameraClippingRange();
        aViewWindow->Repaint();
+       break;
       }
+    case VISU::TCURVE:
+    case VISU::TCONTAINER:
+    case VISU::TTABLE:
+      displayer()->Display(anIO->getEntry());
       break;
     default: {
       VISU::Prs3d_i* aPrs3d = VISU::GetPrs3dFromBase(aBase);