fix formatting

This commit is contained in:
Gwendolyn 2023-11-11 13:30:45 +01:00
parent 565404598b
commit 245e451033
4 changed files with 13 additions and 9 deletions

View file

@ -210,7 +210,9 @@ class LevelRenderData:
new_color_obstacles = []
for obstacle in color_obstacles:
if new_geometry_prep.intersects(obstacle):
new_color_obstacles.append(obstacle.intersection(unwrap_geom(altitudearea.geometry)))
new_color_obstacles.append(
obstacle.intersection(unwrap_geom(altitudearea.geometry))
)
if new_color_obstacles:
new_height_obstacles[color] = new_color_obstacles
if new_height_obstacles: