]> Creatis software - crea.git/commitdiff
*** empty log message ***
authorguigues <guigues>
Wed, 7 Jan 2009 12:55:23 +0000 (12:55 +0000)
committerguigues <guigues>
Wed, 7 Jan 2009 12:55:23 +0000 (12:55 +0000)
src/creawxVTKRenderWindowInteractor.cxx

index 4d0091b7fe4b324f24a748c3d2d4a2dac20a9c06..107c0e30d83875458c027b86518363db119f20d6 100644 (file)
@@ -3,8 +3,8 @@
   Program:   Visualization Toolkit
   Module:    $RCSfile: creawxVTKRenderWindowInteractor.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/01/07 12:54:16 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2009/01/07 12:55:23 $
+  Version:   $Revision: 1.4 $
 
   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
   All rights reserved.
@@ -704,7 +704,7 @@ void creawxVTKRenderWindowInteractor::SetRenderWhenDisabled(int newValue)
   //resulting in a Render(), resulting in Update() being called whilst
   //still in progress.
 
-  RenderWhenDisabled = ((bool)newValue);
+  RenderWhenDisabled = (bool)(newValue!=0);
 }
 //---------------------------------------------------------------------------
 //