Commit 5bc3fc7bf5fb614838b23ef22afa0c288c9eb24f
1 parent
faf99961
Exists in
master
and in
68 other branches
FX: Hide volume if maximize and minimize volume window
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
invesalius/data/surface.py
... | ... | @@ -188,7 +188,7 @@ class SurfaceManager(): |
188 | 188 | if imagedata_resolution: |
189 | 189 | imagedata = iu.ResampleImage3D(imagedata, imagedata_resolution) |
190 | 190 | |
191 | - pipeline_size = 5 | |
191 | + pipeline_size = 4 | |
192 | 192 | if decimate_reduction: |
193 | 193 | pipeline_size += 1 |
194 | 194 | if (smooth_iterations and smooth_relaxation_factor): |
... | ... | @@ -245,8 +245,6 @@ class SurfaceManager(): |
245 | 245 | |
246 | 246 | # Map polygonal data (vtkPolyData) to graphics primitives. |
247 | 247 | mapper = vtk.vtkPolyDataMapper() |
248 | - mapper.AddObserver("ProgressEvent", lambda obj,evt: | |
249 | - UpdateProgress(obj, _("Generating 3D surface..."))) | |
250 | 248 | mapper.SetInput(stripper.GetOutput()) |
251 | 249 | mapper.ScalarVisibilityOff() |
252 | 250 | ... | ... |