]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx
#3546 bug ColorLayer with images all 0
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ColorLayerImageViewManager.cxx
index 631c11a76bddb5259cd5476cd6a30f4b5c77ea7f..cca709a45d337067b448f602113cfe18b552fac5 100644 (file)
@@ -481,7 +481,7 @@ void ColorLayerImageViewManager::SetImageStep2(  vtkImageData* img  )
             } // spc !_spcBase   dim!__dimBase
             this->SetNewSpacingLayer(newSpc);
         } // img
+
     if (_active==true)
     {
         this->onThreshold();
@@ -491,7 +491,6 @@ void ColorLayerImageViewManager::SetImageStep2(  vtkImageData* img  )
         } // img
         this->Refresh();
     } // _active
-
 }
 
 //----------------------------------------------------------------------------