Commit 89abb4cbcb037290c4cca6910e49dd45525b0f0d
1 parent
f5d0049f
Exists in
master
and in
68 other branches
FIX: Surface processo with "_"
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/data/surface_process.py
... | ... | @@ -19,8 +19,7 @@ class SurfaceProcess(multiprocessing.Process): |
19 | 19 | self.decimate_reduction = decimate_reduction |
20 | 20 | self.smooth_relaxation_factor = smooth_relaxation_factor |
21 | 21 | self.smooth_iterations = smooth_iterations |
22 | - _ = i18n.InstallLanguage(language) | |
23 | - | |
22 | + self.language = language | |
24 | 23 | |
25 | 24 | def run(self): |
26 | 25 | self.CreateSurface() |
... | ... | @@ -30,6 +29,7 @@ class SurfaceProcess(multiprocessing.Process): |
30 | 29 | self.pipe.send([prog, msg]) |
31 | 30 | |
32 | 31 | def CreateSurface(self): |
32 | + _ = i18n.InstallLanguage(self.language) | |
33 | 33 | |
34 | 34 | reader = vtk.vtkXMLImageDataReader() |
35 | 35 | reader.SetFileName(self.filename) | ... | ... |