From 1a4664cf0c338e52b74e8fff4594819c287ba723 Mon Sep 17 00:00:00 2001 From: "Egli Adrian (IT-SCI-API-PFI)" <adrian.egli@sbb.ch> Date: Thu, 13 Jun 2019 12:10:31 +0200 Subject: [PATCH] . --- flatland/utils/graphics_pil.py | 2 +- notebooks/Scene_Editor.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py index 33e1b133..5de1d531 100644 --- a/flatland/utils/graphics_pil.py +++ b/flatland/utils/graphics_pil.py @@ -433,7 +433,7 @@ class PILSVG(PILGL): pilTrack = self.dScenery[0] else: pilTrack = self.dBuildings[a] - elif self.background_grid[col][row] > 5: + elif self.background_grid[col][row] > 5 or ((col + row + col * row) % 10 > 7): a = int(self.background_grid[col][row]) - 5 a = a % len(self.dScenery) if (col + row + col * row) % 10 > 2: diff --git a/notebooks/Scene_Editor.ipynb b/notebooks/Scene_Editor.ipynb index c06bbc54..250ad48a 100644 --- a/notebooks/Scene_Editor.ipynb +++ b/notebooks/Scene_Editor.ipynb @@ -100,7 +100,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "d97b62cfb71442548d19f76225810450", + "model_id": "7783247e5f2146e293236d2426248f90", "version_major": 2, "version_minor": 0 }, -- GitLab