if(!compareVectors(type, _currenttype))
{
_mwxwidget->SetType(&type);
+ _mwxwidget->SetTDxWindow( bbGetInputTDxWindow() );
_mwxwidget->UpdateLayout(img);
}else if (img != _currentimg){
_mwxwidget->SetImage(img);
vecNTypeViwer.push_back(2);
vecNTypeViwer.push_back(0);
bbSetInputnTypeView(vecNTypeViwer);
+ bbSetInputTDxWindow( -1 );
bbSetOutputwxVtkBaseView1( NULL );
bbSetOutputwxVtkBaseView2( NULL );