]> Creatis software - gdcm.git/commitdiff
* WrapVTK.py : modifications to get correctly vtk source files to
authorregrain <regrain>
Tue, 17 Jun 2003 08:03:11 +0000 (08:03 +0000)
committerregrain <regrain>
Tue, 17 Jun 2003 08:03:11 +0000 (08:03 +0000)
        compile
      -- BeNours

ChangeLog
WrapVTK.py

index b9381f7b32df54076228a42c780b79da16aed852..bb2dd0bfd2c9879f3c1bc570c02c76a4b1d88868 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
+2003-06-02  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
+      * WrapVTK.py : modifications to get correctly vtk source files to 
+        compile
+
 2003-06-11  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
-      * 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),
index 49772bccece695f40e1c20289e0257678ab6ca52..49758c93bdb6da19d5729d1cd15132bb6e26c8a5 100644 (file)
@@ -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: