From 5777558a1d7bf23e9aafa3895d19973555fbb5b1 Mon Sep 17 00:00:00 2001
From: Markus Quaritsch <markus.quaritsch@tugraz.at>
Date: Wed, 27 Nov 2019 08:15:25 +0100
Subject: [PATCH] allow reading default values for effshift only for release
 candidates

---
 VectoCore/VectoCore/Models/Declaration/DeclarationData.cs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/VectoCore/VectoCore/Models/Declaration/DeclarationData.cs b/VectoCore/VectoCore/Models/Declaration/DeclarationData.cs
index 802f73e90a..047d17117f 100644
--- a/VectoCore/VectoCore/Models/Declaration/DeclarationData.cs
+++ b/VectoCore/VectoCore/Models/Declaration/DeclarationData.cs
@@ -242,6 +242,7 @@ namespace TUGraz.VectoCore.Models.Declaration
 			// TODO: MQ 2019-11-26 remove, once the parameters are fixed! make fields above read-only or const
 			static GearboxTCU()
 			{
+#if RELEASE_CANDIDATE
 				var expectedFile = @"Declaration\EffShiftParameters.vtcu";
 				if (!File.Exists(expectedFile)) {
 					return;
@@ -287,8 +288,8 @@ namespace TUGraz.VectoCore.Models.Declaration
 				if (tmp != null && tmp.Body["ShiftStrategy"] != null) {
 					DefaultShiftStrategy = tmp.Body["ShiftStrategy"].Value<string>();
 				}
-			}
-
+#endif
+			}	
 		}
 
 		public static class Gearbox
-- 
GitLab