]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuViewerNV.cxx
#3472 TDx
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuViewerNV.cxx
index a889cf5e0c4b7f5d1a6df04af05844f2a577cb9e..2dcd98950f71a29c6c30e89fafb8d606d29086ce 100644 (file)
@@ -98,6 +98,7 @@ void ViewerNV::Process()
                if(!compareVectors(type, _currenttype))
                {
                        _mwxwidget->SetType(&type);
+            _mwxwidget->SetTDxWindow( bbGetInputTDxWindow() );
                        _mwxwidget->UpdateLayout(img);
                }else if (img != _currentimg){
                        _mwxwidget->SetImage(img);
@@ -190,6 +191,7 @@ void ViewerNV::bbUserSetDefaultValues()
        vecNTypeViwer.push_back(2);
        vecNTypeViwer.push_back(0);
        bbSetInputnTypeView(vecNTypeViwer);
+    bbSetInputTDxWindow( -1 );
 
        bbSetOutputwxVtkBaseView1( NULL );
        bbSetOutputwxVtkBaseView2( NULL );