0

Added some more printouts when Overviewer is first starting

Often, when people ask questions about Overviewer, "all it says is
'Welcome to Overivwer'" is a common question.  Enable a little more
logging info at the start of Overviewer to hopefully make it more clear
that something is happening
This commit is contained in:
Andrew Chin
2014-02-21 22:11:29 -05:00
parent eda7671450
commit d9e907913e

View File

@@ -435,7 +435,7 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
texopts_key = tuple(texopts.items()) texopts_key = tuple(texopts.items())
if texopts_key not in texcache: if texopts_key not in texcache:
tex = textures.Textures(**texopts) tex = textures.Textures(**texopts)
logging.debug("Starting to generate textures") logging.info("Generating textures...")
tex.generate() tex.generate()
logging.debug("Finished generating textures") logging.debug("Finished generating textures")
texcache[texopts_key] = tex texcache[texopts_key] = tex
@@ -485,6 +485,7 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
tilesets.append(tset) tilesets.append(tset)
# Do tileset preprocessing here, before we start dispatching jobs # Do tileset preprocessing here, before we start dispatching jobs
logging.info("Preprocessing...")
for ts in tilesets: for ts in tilesets:
ts.do_preprocessing() ts.do_preprocessing()