From da2d684d1b0b27b82f7da77c11466a120b4d4d13 Mon Sep 17 00:00:00 2001 From: regrain Date: Tue, 17 Jun 2003 08:03:11 +0000 Subject: [PATCH] * WrapVTK.py : modifications to get correctly vtk source files to compile -- BeNours --- ChangeLog | 6 +++++- WrapVTK.py | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b9381f7b..bb2dd0bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ +2003-06-02 Benoit Regrain + * WrapVTK.py : modifications to get correctly vtk source files to + compile + 2003-06-11 Eric Boix - * vtk/vtkGdcmReader.[cxx/h]: + * vtk/vtkGdcmReader.[cxx/h]: - UpdateProgress method should now be effective - removed the limitation on having only images loaded (as opposed to volumes), diff --git a/WrapVTK.py b/WrapVTK.py index 49772bcc..49758c93 100644 --- a/WrapVTK.py +++ b/WrapVTK.py @@ -30,7 +30,8 @@ class VTKWrapper(Wrapper): for source in sources: (base,ext)=os.path.splitext(source) fileName=os.path.split(base) - if((ext==".cxx")and(fileName[-1][0:3]=="vtk")): + if((ext==".cxx")and(fileName[-1][0:3]=="vtk") + and(fileName[-1][-6:]!="Python")): newSources.append(source) newSources.append(base+target_ext) vtkSources.append(base+'.h') @@ -41,7 +42,7 @@ class VTKWrapper(Wrapper): # Find vtkWrapPython wrapper=self.FindvtkWrapPython() if(not self.__extWrap.vtkHints): - self.__extWrap.vtkHints="toto" + self.__extWrap.vtkHints="dummyHints" wrapCmd=[wrapper] for source in vtkSources: -- 2.48.1