Commit f87a0d42b42c0138c362b9884d1ba30bd79c94cb

Authored by Paulo Henrique Junqueira Amorim
1 parent 628fec8e

FIX: Progress bar from split surface ending before

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
invesalius/data/polydata_utils.py
@@ -173,8 +173,7 @@ def SplitDisconectedParts(polydata): @@ -173,8 +173,7 @@ def SplitDisconectedParts(polydata):
173 polydata_collection = [] 173 polydata_collection = []
174 174
175 # Update progress value in GUI 175 # Update progress value in GUI
176 - UpdateProgress = vu.ShowProgress(nregions)  
177 - 176 + UpdateProgress = vu.ShowProgress(nregions - 1)
178 177
179 for region in xrange(nregions): 178 for region in xrange(nregions):
180 conn.InitializeSpecifiedRegionList() 179 conn.InitializeSpecifiedRegionList()