From 66f04c60906251beaf842ca75f1ec934d411fb57 Mon Sep 17 00:00:00 2001 From: Sergiy Kozyr Date: Mon, 29 Jul 2024 17:58:23 +0300 Subject: [PATCH] Fixed styles merging Signed-off-by: Sergiy Kozyr --- tools/python/stylesheet/drules_merge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/stylesheet/drules_merge.py b/tools/python/stylesheet/drules_merge.py index 9e26536783..c067cbf75b 100755 --- a/tools/python/stylesheet/drules_merge.py +++ b/tools/python/stylesheet/drules_merge.py @@ -74,7 +74,7 @@ def create_diff(zooms1, zooms2): print("{}: missing completely; {}".format(typ, zooms_string(zooms2[typ][0].scale, zooms2[typ][1].scale))) cont = drules_struct_pb2.ClassifElementProto() cont.name = typ - for z in range(zooms2[typ][0].scale, zooms2[typ][1].scale): + for z in range(zooms2[typ][0].scale, zooms2[typ][1].scale+1): fix = copy.deepcopy(zooms2[typ][0]) fix.scale = z cont.element.extend([fix])