0

Fix smooth-night and night with -p 2 on Windows

This commit is contained in:
Andrew Chin
2011-11-27 20:45:01 -05:00
parent ab321c949a
commit 8390ec4e57
2 changed files with 4 additions and 0 deletions

View File

@@ -468,6 +468,8 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
# create the distributed render
r = rendernode.RenderNode(q, options)
# for the pool_initializer
r.builtin_custom_rendermodes = builtin_custom_rendermodes
# write out the map and web assets
m = googlemap.MapGen(q, configInfo=options)

View File

@@ -63,6 +63,8 @@ def pool_initializer(rendernode):
c_overviewer.init_chunk_render()
# setup c_overviewer rendermode customs / options
for mode in rendernode.builtin_custom_rendermodes:
c_overviewer.add_custom_render_mode(mode, rendernode.builtin_custom_rendermodes[mode])
for mode in rendernode.options.custom_rendermodes:
c_overviewer.add_custom_render_mode(mode, rendernode.options.custom_rendermodes[mode])
for mode in rendernode.options.rendermode_options: