From: akl Date: Fri, 22 Aug 2008 16:28:14 +0000 (+0000) Subject: Fix to display VISU::TPOINTMAP3D object as TTABLE one if Plot2D is an active viewer. X-Git-Tag: V5_1_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=22deb7be06f39738ee91c90a77c2d80bb52c1cac;p=modules%2Fvisu.git Fix to display VISU::TPOINTMAP3D object as TTABLE one if Plot2D is an active viewer. --- 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);