From dcda84c00ecccd801d0ad1f053d476d43437580d 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 1ee28cbc6d..7a4ce14bcb 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 f3e7b56235..bd636721c9 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