Commit 9bc7d016304defad70f07a51ceb179e9c0ef6cde

Authored by tatiana
1 parent 5caf20b9

FIX: Status (GUI)

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
invesalius/data/surface.py
@@ -279,7 +279,7 @@ class SurfaceManager(): @@ -279,7 +279,7 @@ class SurfaceManager():
279 if imagedata_resolution: 279 if imagedata_resolution:
280 imagedata = iu.ResampleImage3D(imagedata, imagedata_resolution) 280 imagedata = iu.ResampleImage3D(imagedata, imagedata_resolution)
281 281
282 - pipeline_size = 3 282 + pipeline_size = 2
283 if decimate_reduction: 283 if decimate_reduction:
284 pipeline_size += 1 284 pipeline_size += 1
285 if (smooth_iterations and smooth_relaxation_factor): 285 if (smooth_iterations and smooth_relaxation_factor):
@@ -294,7 +294,7 @@ class SurfaceManager(): @@ -294,7 +294,7 @@ class SurfaceManager():
294 writer.SetInput(imagedata) 294 writer.SetInput(imagedata)
295 writer.Write() 295 writer.Write()
296 296
297 - pipeline_size = 5 297 + #pipeline_size = 4
298 UpdateProgress = vu.ShowProgress(pipeline_size) 298 UpdateProgress = vu.ShowProgress(pipeline_size)
299 299
300 pipe_in, pipe_out = multiprocessing.Pipe() 300 pipe_in, pipe_out = multiprocessing.Pipe()