From 22deb7be06f39738ee91c90a77c2d80bb52c1cac Mon Sep 17 00:00:00 2001 From: akl Date: Fri, 22 Aug 2008 16:28:14 +0000 Subject: [PATCH] Fix to display VISU::TPOINTMAP3D object as TTABLE one if Plot2D is an active viewer. --- src/VISUGUI/VisuGUI.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 202faadc..3d7fcc0f 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -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(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); -- 2.39.2