case 'M' :
case 'm' :
{
- if( myWidgetCtrl->GetEnabled() )
+ if( IsSegmentationEnabled() )
{
this->ChangeMagnification( myInteractor->GetShiftKey() );
return;
case 'D' :
case 'd' :
{
- if( myWidgetCtrl->GetEnabled() && myWidgetCtrl->IsSphereActive() )
+ if( IsSegmentationEnabled() && myWidgetCtrl->IsSphereActive() )
{
VISU_SphereWidget* aSphereWidget = myWidgetCtrl->GetSphereWidget();
aSphereWidget->ChangeRadius( myInteractor->GetShiftKey() );