[vtk-developers] fix for obvious bug in vtkIVWriter

Charl P. Botha c.p.botha at its.tudelft.nl
Tue Feb 18 11:40:22 EST 2003


Please apply the following patch that fixes a very obvious bug in
vtkIVWriter.cxx. CVS commits are of course temporarily disabled. Credit
for this one goes to Paul de Bruin <p.w.debruinATits.tudelft.nl>.

Thanks,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
-------------- next part --------------
--- vtkIVWriter.cxx~	Wed Jan 15 16:03:44 2003
+++ vtkIVWriter.cxx	Tue Feb 18 17:35:04 2003
@@ -133,8 +133,9 @@
       }
     fprintf(fp, "\n\t\t]\n");
     fprintf(fp,"\t}\n");
+    colors->Delete();        
     }
-  colors->Delete();
+
   
   // write out polys if any
   if (pd->GetNumberOfPolys() > 0)


More information about the vtk-developers mailing list