From 2b7625a1197e2f051be27c295e7486625a071be0 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 24 Apr 2018 14:56:56 +0300 Subject: [PATCH] 0023271: [CEA 1823] Deflection Coefficient not taken into account in wireframe --- src/OBJECT/GEOM_AISShape.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/OBJECT/GEOM_AISShape.cxx b/src/OBJECT/GEOM_AISShape.cxx index d2cbff7b4..09a544781 100644 --- a/src/OBJECT/GEOM_AISShape.cxx +++ b/src/OBJECT/GEOM_AISShape.cxx @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include @@ -49,6 +50,7 @@ #include #include #include +#include #include #include #include @@ -227,6 +229,15 @@ void GEOM_AISShape::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresent bool isTopLev = isTopLevel() && switchTopLevel(); switch (aMode) { case Wireframe: + // Begin 0023271: [CEA 1823] Deflection Coefficient not taken into account in wireframe + { + StdPrs_ToolTriangulatedShape::ClearOnOwnDeflectionChange (myshape, myDrawer, Standard_True); + + // After this call if type of deflection is relative + // computed deflection coefficient is stored as absolute. + Prs3d::GetDeflection (myshape, myDrawer); + } + // End 0023271 case CustomHighlight: { if(isTopLev) { -- 2.39.2