// std::cout<<"img "<<img<<std::endl;
// std::cout<<"widget "<<mwxwidget<<std::endl;
-// if(img != NULL && mwxwidget != NULL){// && !enter){
- if( mwxwidget != NULL){// && !enter){
+ if(img != NULL && mwxwidget != NULL){// && !enter){
+// if( mwxwidget != NULL){// && !enter){
if(!compareVectors(type, currenttype)){
mwxwidget->SetType(&type);
interactor = bbGetOutputInteractor1();
if(interactor){
if (bbGetInputObs1()!=NULL){
- bbGetInputObs1()->SetInteractor(interactor);
- bbGetInputObs1()->EnabledOn();
+ bbGetInputObs1()->SetInteractor(interactor);
+ bbGetInputObs1()->EnabledOn();
}
if (bbGetInputObs2()!=NULL)
{
bbGetInputObs2()->SetInteractor(interactor);
- bbGetInputObs2()->EnabledOn();
+ bbGetInputObs2()->EnabledOn();
}
if (bbGetInputObs3()!=NULL)
{
bbGetInputObs3()->SetInteractor(interactor);
- bbGetInputObs3()->EnabledOn();
+ bbGetInputObs3()->EnabledOn();
}
if (bbGetInputObs4()!=NULL)
{
bbGetInputObs4()->SetInteractor(interactor);
- bbGetInputObs4()->EnabledOn();
+ bbGetInputObs4()->EnabledOn();
}
if (bbGetInputObs5()!=NULL)
{
bbGetInputObs5()->SetInteractor(interactor);
- bbGetInputObs5()->EnabledOn();
+ bbGetInputObs5()->EnabledOn();
}
}
}