displaySchematic updates as chunks are loaded instead of preloading chunks
This commit is contained in:
parent
bc70ff8e67
commit
50c441fa29
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user