]> Creatis software - creaMaracasVisu.git/commitdiff
#3316 creaVtk Feature New - NormalVoiMPR box
authorEduardo DAVILA <davila@ei-ed-606.univ-lyon1.fr>
Tue, 29 Oct 2019 15:26:00 +0000 (16:26 +0100)
committerEduardo DAVILA <davila@ei-ed-606.univ-lyon1.fr>
Tue, 29 Oct 2019 15:26:00 +0000 (16:26 +0100)
bbtk/src/bbmaracasvisuSliderMinMax.cxx

index 4eac20e540fa233b23b70b45f0c5220cade62060..0ecd8bfd227eec500a5a7b538b79ccc253a8964f 100644 (file)
@@ -108,13 +108,13 @@ BBTK_BLACK_BOX_IMPLEMENTATION(SliderMinMax,bbtk::WxBlackBox);
 void SliderMinMax::Process()
 {
        if (mwxwidget!=NULL){
+               mwxwidget -> setRepresentedValues( bbGetInputInMin(), bbGetInputInMax() );
                if (firsttime==true)
                {
                        firsttime=false;
                        mwxwidget -> SetStart(bbGetInputInMinShow());
                        mwxwidget -> SetEnd(bbGetInputInMaxShow());  
                }
-               mwxwidget -> setRepresentedValues( bbGetInputInMin(), bbGetInputInMax() );
                bbSetOutputOutStart(mwxwidget->GetStart());
                bbSetOutputOutEnd(mwxwidget->GetEnd());
                bbSetOutputOutActual(mwxwidget->GetActual());