Add info to logger in FillBlocksOperation

This commit is contained in:
David Vierra 2015-09-09 23:00:38 -10:00
parent 49a2fd5036
commit b16918b320

View File

@ -90,7 +90,10 @@ class FillBlocksOperation(Operation):
self.chunkCount = 0
self.skipped = 0
self.sections = 0
log.info("Replacing with selection:\n%s Mapping:\n %s\n (creating chunks/sections? %s)", selection, self.blockReplacements, self.createSections)
log.info("Replacing with selection:\n%s Mapping:\n %s\n "
"(creating chunks/sections? %s updating lights? %s)",
selection, self.blockReplacements,
self.createSections, self.updateLights)
def done(self):
log.info(u"Fill/Replace: Skipped {0}/{1} sections".format(self.skipped, self.sections))