From 617bd8c859fa0ed4eeb9f5b2417c2580eba74d72 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 3 Aug 2015 10:53:36 +0200 Subject: [PATCH] + re-insert removed line --- src/Mod/Part/Gui/ViewProviderExt.cpp | 1 + src/Mod/PartDesign/Gui/ViewProviderTransformed.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Mod/Part/Gui/ViewProviderExt.cpp b/src/Mod/Part/Gui/ViewProviderExt.cpp index 1ee28cbc6..7a4ce14bc 100644 --- a/src/Mod/Part/Gui/ViewProviderExt.cpp +++ b/src/Mod/Part/Gui/ViewProviderExt.cpp @@ -765,6 +765,7 @@ void ViewProviderPartExt::updateVisual(const TopoDS_Shape& inputShape) // create or use the mesh on the data structure #if OCC_VERSION_HEX >= 0x060600 + Standard_Real AngDeflectionRads = AngularDeflection.getValue() / 180.0 * M_PI; BRepMesh_IncrementalMesh(cShape,deflection,Standard_False, AngDeflectionRads,Standard_True); #else diff --git a/src/Mod/PartDesign/Gui/ViewProviderTransformed.cpp b/src/Mod/PartDesign/Gui/ViewProviderTransformed.cpp index f3e7b5623..bd636721c 100644 --- a/src/Mod/PartDesign/Gui/ViewProviderTransformed.cpp +++ b/src/Mod/PartDesign/Gui/ViewProviderTransformed.cpp @@ -28,6 +28,7 @@ # include # include # include +# include # include # include # include @@ -253,6 +254,7 @@ void ViewProviderTransformed::recomputeFeature(void) // create or use the mesh on the data structure #if OCC_VERSION_HEX >= 0x060600 + Standard_Real AngDeflectionRads = AngularDeflection.getValue() / 180.0 * M_PI; BRepMesh_IncrementalMesh(cShape,deflection,Standard_False, AngDeflectionRads,Standard_True); #else