From 89abb4cbcb037290c4cca6910e49dd45525b0f0d Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Wed, 13 Jan 2010 13:11:25 +0000 Subject: [PATCH] FIX: Surface processo with "_" --- invesalius/data/surface_process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invesalius/data/surface_process.py b/invesalius/data/surface_process.py index da2c9ec..aeb7465 100644 --- a/invesalius/data/surface_process.py +++ b/invesalius/data/surface_process.py @@ -19,8 +19,7 @@ class SurfaceProcess(multiprocessing.Process): self.decimate_reduction = decimate_reduction self.smooth_relaxation_factor = smooth_relaxation_factor self.smooth_iterations = smooth_iterations - _ = i18n.InstallLanguage(language) - + self.language = language def run(self): self.CreateSurface() @@ -30,6 +29,7 @@ class SurfaceProcess(multiprocessing.Process): self.pipe.send([prog, msg]) def CreateSurface(self): + _ = i18n.InstallLanguage(self.language) reader = vtk.vtkXMLImageDataReader() reader.SetFileName(self.filename) -- libgit2 0.21.2