]> Creatis software - clitk.git/commitdiff
Display window and level when using local windowing
authorsrit <srit>
Fri, 23 Apr 2010 09:14:16 +0000 (09:14 +0000)
committersrit <srit>
Fri, 23 Apr 2010 09:14:16 +0000 (09:14 +0000)
vv/vvSlicerManager.cxx

index 9c64dedd5a6d2210d60053afcd9f1d3de27d68a0..b14bfde693bcf18a05756413f3c8e98d5f10e1e5 100644 (file)
@@ -1084,6 +1084,7 @@ void vvSlicerManager::SetLocalColorWindowing(const int slicer)
   this->mSlicers[slicer]->GetExtremasAroundMousePointer(min, max);
   this->SetColorWindow(max-min);
   this->SetColorLevel(0.5*(min+max));
+  this->UpdateWindowLevel();
   this->Render();
 }
 //----------------------------------------------------------------------------