]> Creatis software - clitk.git/commitdiff
corrected #ifdef for AnimatedGIF screenshots
authorRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Fri, 30 Mar 2012 12:18:28 +0000 (14:18 +0200)
committerRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Fri, 30 Mar 2012 12:18:28 +0000 (14:18 +0200)
vv/vvMainWindow.cxx

index 436a89f2ee1ead6b6fb892d1850b6de0d018ddbf..e91e9b47e5bfac36bbe2c0b2c8fb4fd0d65bd84b 100644 (file)
@@ -2806,7 +2806,7 @@ void vvMainWindow::SaveScreenshot(QVTKWidget *widget)
 
     // Video
     vtkGenericMovieWriter *vidwriter = NULL;
-#ifdef CLITK_EXPERIMENTAL
+#if CLITK_EXPERIMENTAL == 1
     if (!strcmp(ext, ".gif")) {
       vvAnimatedGIFWriter *gif = vvAnimatedGIFWriter::New();
       vidwriter = gif;