0031424: Visualization - stop using Prs3d_Drawer::HLRAngle() parameter
[occt.git] / src / StdPrs / StdPrs_ToolTriangulatedShape.cxx
index 07db4ab..681d3db 100644 (file)
@@ -262,7 +262,7 @@ Standard_Boolean StdPrs_ToolTriangulatedShape::Tessellate (const TopoDS_Shape&
   // retrieve meshing tool from Factory
   Handle(BRepMesh_DiscretRoot) aMeshAlgo = BRepMesh_DiscretFactory::Get().Discret (theShape,
                                                                                    aDeflection,
-                                                                                   theDrawer->HLRAngle());
+                                                                                   theDrawer->DeviationAngle());
   if (!aMeshAlgo.IsNull())
   {
     aMeshAlgo->Perform();