Commit 20f5ca66e66bce983979818d901399f5baaa364f

Authored by Paulo Henrique Junqueira Amorim
1 parent ad1001b8

ENH: Show progress in the ProgressDialog, case open DICOM with original resolution

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/data/imagedata_utils.py
@@ -211,7 +211,7 @@ def ExtractVOI(imagedata,xi,xf,yi,yf,zi,zf): @@ -211,7 +211,7 @@ def ExtractVOI(imagedata,xi,xf,yi,yf,zi,zf):
211 def CreateImageData(filelist, zspacing): 211 def CreateImageData(filelist, zspacing):
212 message = "Generating multiplanar visualization..." 212 message = "Generating multiplanar visualization..."
213 if not(const.REDUCE_IMAGEDATA_QUALITY): 213 if not(const.REDUCE_IMAGEDATA_QUALITY):
214 - update_progress= vtk_utils.ShowProgress(1) 214 + update_progress= vtk_utils.ShowProgress(1, dialog_type = "ProgressDialog")
215 215
216 array = vtk.vtkStringArray() 216 array = vtk.vtkStringArray()
217 for x in xrange(len(filelist)): 217 for x in xrange(len(filelist)):