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) {