Don't show progress bar for small brushes
This commit is contained in:
parent
f477a2bfcf
commit
50087e7fb7
@ -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):
|
||||
|
Reference in New Issue
Block a user