respect holes in blender render engine

This commit is contained in:
Laura Klünder 2018-12-05 23:15:28 +01:00
parent 27885f4ee2
commit a74e631820
2 changed files with 5 additions and 0 deletions

View file

@ -159,6 +159,8 @@ class LevelRenderData:
new_geoms = LevelGeometries()
new_geoms.buildings = crop_to.intersection(old_geoms.buildings)
if old_geoms.on_top_of_id is None:
new_geoms.holes = crop_to.intersection(old_geoms.holes)
new_geoms.doors = crop_to.intersection(old_geoms.doors)
new_geoms.walls = crop_to.intersection(old_geoms.walls)
new_geoms.all_walls = crop_to.intersection(old_geoms.all_walls)