Commit 0bdbe4a2861b842f62339fdb6fd047832853a142

Authored by Paulo Henrique Junqueira Amorim
1 parent 033c91dd

ENH: Improved method to extract all regions

Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
invesalius/data/polydata_utils.py
... ... @@ -158,8 +158,6 @@ def SplitDisconectedParts(polydata):
158 158 nregions = conn.GetNumberOfExtractedRegions()
159 159  
160 160 conn.SetExtractionModeToSpecifiedRegions()
161   - conn.ScalarConnectivityOn()
162   - conn.SetScalarRange(226, 3021)
163 161 conn.Update()
164 162  
165 163 polydata_collection = []
... ...