From 794a9e7b98ed3166b8a4d22e40431bebec8a7ec7 Mon Sep 17 00:00:00 2001 From: Tensuko Date: Sat, 26 Oct 2024 14:23:46 +0200 Subject: [PATCH] Revert "Setting for corner radius" This reverts commit 999aff4442182c6d975fc3b29098231366923d50. --- config/CourseGeneratorSettingsSetup.xml | 1 - config/MasterTranslations.xml | 16 ++++------------ .../courseGenerator/CourseGeneratorInterface.lua | 2 +- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/config/CourseGeneratorSettingsSetup.xml b/config/CourseGeneratorSettingsSetup.xml index a78eab242..613e229f3 100644 --- a/config/CourseGeneratorSettingsSetup.xml +++ b/config/CourseGeneratorSettingsSetup.xml @@ -35,7 +35,6 @@ - diff --git a/config/MasterTranslations.xml b/config/MasterTranslations.xml index 358e3b6f1..4c2d85e56 100644 --- a/config/MasterTranslations.xml +++ b/config/MasterTranslations.xml @@ -917,14 +917,6 @@ - - - - - - - - @@ -1054,12 +1046,12 @@ - - + + - - + + diff --git a/scripts/courseGenerator/CourseGeneratorInterface.lua b/scripts/courseGenerator/CourseGeneratorInterface.lua index d6845c125..e702a14ba 100644 --- a/scripts/courseGenerator/CourseGeneratorInterface.lua +++ b/scripts/courseGenerator/CourseGeneratorInterface.lua @@ -39,7 +39,7 @@ function CourseGeneratorInterface.generate(fieldPolygon, context:setBaselineEdge(startPosition.x, -startPosition.z) context:setFieldMargin(settings.fieldMargin:getValue()) context:setUseBaselineEdge(settings.useBaseLineEdge:getValue()) - context:setFieldCornerRadius(settings.fieldCornerRadius:getValue()) + context:setFieldCornerRadius(settings.turningRadius:getValue()) context:setHeadlandFirst(settings.startOnHeadland:getValue()) context:setHeadlandClockwise(settings.headlandClockwise:getValue()) context:setHeadlandOverlap(settings.headlandOverlapPercent:getValue())