fix orient again
This commit is contained in:
parent
a9b1ed1914
commit
dfdeb784aa
1 changed files with 3 additions and 1 deletions
|
@ -167,7 +167,9 @@ class AltitudeArea(LevelGeometryMixin, models.Model):
|
|||
tuple(h.geometry for h in space.holes.all()))
|
||||
))
|
||||
|
||||
areas = orient(unary_union(areas+list(door.geometry for door in level.doors.all())))
|
||||
areas = MultiPolygon(tuple(orient(polygon) for polygon in assert_multipolygon(
|
||||
unary_union(areas+list(door.geometry for door in level.doors.all())))
|
||||
))
|
||||
|
||||
# collect all stairs on this level
|
||||
for space in level.spaces.all():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue