Don't show progress bar for small brushes

This commit is contained in:
David Vierra 2015-01-25 21:18:38 -10:00
parent f477a2bfcf
commit 50087e7fb7

View File

@ -140,7 +140,11 @@ class Fill(BrushMode):
:type command: BrushCommand
"""
fill = command.editorSession.currentDimension.fillBlocksIter(selections[0], command.blockInfo)
showProgress("Applying brush...", fill)
if selections[0].chunkCount > 32:
showProgress("Applying brush...", fill)
else:
for _ in fill:
pass
class BrushModes(object):