From ea8da495560935564fc28801393c3b1ee34ad5fd Mon Sep 17 00:00:00 2001 From: azv Date: Mon, 20 Mar 2017 11:34:16 +0300 Subject: [PATCH] Fix compilation problem on Linux --- src/SketchSolver/SketchSolver_ConstraintTangent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SketchSolver/SketchSolver_ConstraintTangent.cpp b/src/SketchSolver/SketchSolver_ConstraintTangent.cpp index 791de4cc2..709d09185 100644 --- a/src/SketchSolver/SketchSolver_ConstraintTangent.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintTangent.cpp @@ -279,7 +279,7 @@ static void adjustAngleBetweenCurves(const GCSCurvePtr& theCurve1, const GCSPointPtr& thePoint, double* theAngle) { - double anAngle = GCS::System::calculateAngleViaPoint(*theCurve1, *theCurve2, *thePoint); + double anAngle = GCS::System().calculateAngleViaPoint(*theCurve1, *theCurve2, *thePoint); // bring angle to [-pi..pi] if (anAngle > PI) anAngle -= 2.0 * PI; if (anAngle < -PI) anAngle += 2.0 * PI; -- 2.39.2