diff --git a/invesalius/data/polydata_utils.py b/invesalius/data/polydata_utils.py index 65caab9..cbc1da8 100644 --- a/invesalius/data/polydata_utils.py +++ b/invesalius/data/polydata_utils.py @@ -173,8 +173,7 @@ def SplitDisconectedParts(polydata): polydata_collection = [] # Update progress value in GUI - UpdateProgress = vu.ShowProgress(nregions) - + UpdateProgress = vu.ShowProgress(nregions - 1) for region in xrange(nregions): conn.InitializeSpecifiedRegionList() -- libgit2 0.21.2