From: vsr Date: Mon, 5 Apr 2010 12:01:28 +0000 (+0000) Subject: 0020668: [CEA] FitAll and points X-Git-Tag: V5_1_4a1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1859b94fcebcc583b7c7e96047e3d40e1263ec0a;p=modules%2Fgeom.git 0020668: [CEA] FitAll and points Additional changes for Displayer --- diff --git a/src/GEOMGUI/GEOM_Displayer.cxx b/src/GEOMGUI/GEOM_Displayer.cxx index ab52189af..c809f1917 100644 --- a/src/GEOMGUI/GEOM_Displayer.cxx +++ b/src/GEOMGUI/GEOM_Displayer.cxx @@ -550,7 +550,7 @@ void GEOM_Displayer::Update( SALOME_OCCPrs* prs ) AISShape = new GEOM_AISShape (myShape, ""); } // Temporary staff: vertex must be infinite for correct visualization - AISShape->SetInfiniteState( myShape.Infinite() || myShape.ShapeType() == TopAbs_VERTEX ); + AISShape->SetInfiniteState( myShape.Infinite() ); // || myShape.ShapeType() == TopAbs_VERTEX // VSR: 05/04/2010: Fix 20668 (Fit All for points & lines) // Setup shape properties here ..., e.g. display mode, color, transparency, etc AISShape->SetDisplayMode( myDisplayMode );