+ re-insert removed line

This commit is contained in:
wmayer 2015-08-03 10:53:36 +02:00
parent e7441149f0
commit 617bd8c859
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -28,6 +28,7 @@
# include <BRep_Tool.hxx>
# include <BRepBndLib.hxx>
# include <BRepMesh_IncrementalMesh.hxx>
# include <Standard_Version.hxx>
# include <TopExp_Explorer.hxx>
# include <TopoDS.hxx>
# include <Poly_Triangulation.hxx>
@ -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