From f1d7f0b54479efe6ede5610af8d20b88a49c9da1 Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 25 Dec 2009 09:40:11 +0000 Subject: [PATCH] Mantis issue 0020626: the discretisation of the circles in the OCC viewer is too rough. Use StdPrs_WFDeflectionShape instead of StdPrs_WFShape. --- src/OBJECT/GEOM_AISShape.cxx | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/OBJECT/GEOM_AISShape.cxx b/src/OBJECT/GEOM_AISShape.cxx index f80cbd267..73495021e 100644 --- a/src/OBJECT/GEOM_AISShape.cxx +++ b/src/OBJECT/GEOM_AISShape.cxx @@ -36,35 +36,39 @@ // Open CASCADE Includes #include #include + +#include + +#include +#include +#include +#include +#include #include + #include +#include + #include #include #include #include #include #include -#include +#include + #include #include #include #include #include #include - -#include #include #include #include #include #include #include -#include -#include -#include -#include -#include -#include using namespace std; @@ -168,7 +172,7 @@ void GEOM_AISShape::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresent switch (d) { case StdSelect_DM_Wireframe: { - StdPrs_WFShape::Add(aPrs,myshape,myDrawer); + StdPrs_WFDeflectionShape::Add(aPrs,myshape,myDrawer); break; } case StdSelect_DM_Shading: -- 2.39.2