displaySchematic updates as chunks are loaded instead of preloading chunks

This commit is contained in:
David Vierra 2015-10-01 00:02:38 -10:00
parent bc70ff8e67
commit 50c441fa29

View File

@ -85,8 +85,8 @@ def displaySchematic(schematic):
_swv_view = SchematicWorldView(dim, textureAtlas)
loader = WorldLoader(_swv_view.worldScene)
for _ in loader.work():
pass
loader.timer.start()
loader.timer.timeout.connect(_swv_view.update)
centerWidgetInScreen(_swv_view, resize=0.75)