blender render engine: render buildings… in theory

This commit is contained in:
Laura Klünder 2018-12-05 19:22:20 +01:00
parent 1d40e3f02a
commit 5b4ee0b4d0
6 changed files with 142 additions and 9 deletions

View file

@ -158,6 +158,7 @@ class LevelRenderData:
map_history.composite(MapHistory.open_level(sublevel.pk, 'base'), None)
new_geoms = LevelGeometries()
new_geoms.buildings = crop_to.intersection(old_geoms.buildings)
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)