From 9ac78d8b84f6a059d2cefe22a10aa60de5b3feaf Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 04 Jan 2018 21:58:52 +0000
Subject: [PATCH] Fine tuning, use stopbackward=1 in the cfg-file in that layer where Backward should be stopped.

---
 src/parser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/parser.c b/src/parser.c
index e0fe8f2..9fc4966 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -672,6 +672,8 @@
         }else{
             fprintf(stderr, "Type not recognized: %s\n", s->type);
         }
+        l.onlyforward = option_find_int_quiet(options, "onlyforward", 0);
+        l.stopbackward = option_find_int_quiet(options, "stopbackward", 0);
         l.dontload = option_find_int_quiet(options, "dontload", 0);
         l.dontloadscales = option_find_int_quiet(options, "dontloadscales", 0);
         option_unused(options);

--
Gitblit v1.10.0