Program: bbtk
Module: $RCSfile: bbtkBlackBox.cxx,v $
Language: C++
- Date: $Date: 2008/12/09 11:48:31 $
- Version: $Revision: 1.33 $
+ Date: $Date: 2008/12/09 12:54:02 $
+ Version: $Revision: 1.34 $
=========================================================================*/
/* ---------------------------------------------------------------------
bbtkError("no input called '"<<name<<"'");
}
i->second->SetConnection(c);
-
- // Check the status of the from.output of c
- // to set the new status of the input
- IOStatus s = MODIFIED;
- if ( c->GetBlackBoxFrom()->bbGetOutputConnector(c->GetBlackBoxFromOutput()).GetStatus() == OUTOFDATE )
- s = OUTOFDATE;
- bbSetStatusAndPropagate(i->second,s);
+ // The input *MUST* be set OUTOFDATE to update its input on next execution
+ bbSetStatusAndPropagate(i->second,OUTOFDATE);
bbtkDebugMessage("connection",2,
"<== BlackBox::bbConnectInput(\""