else
aBuilder->AbortCommand();
- if ( !myThread->running() )
- MESSAGE("WANTED - study->updateObjBrowser(); ");
+ if ( !myThread->running() ) {
+ getStudy()->updateObjBrowser();
+ //MESSAGE("WANTED - study->updateObjBrowser(); ");
+ }
isIn = false;
return true;
char* date;
long stamp;
- while (notification->Receive(&graph, &node, &type, &message, &sender, &counter, &date, &stamp)) {
- if (isFiltered(graph, node, type, message, sender, counter, date, stamp)) {
+ while ( notification->Receive(&graph, &node, &type, &message, &sender, &counter, &date, &stamp) ) {
+// if (isFiltered(graph, node, type, message, sender, counter, date, stamp)) {
QString mess("");
mess += "NOTIF: "; mess += graph;
mess += " / " ; mess += node;
mess += " / " ; mess += type;
mess += " / " ; mess += message;
- getMessage()->setMessage(mess.latin1());
- };
- };
+ getMessage()->setMessage( mess.latin1() );
+// };
+ }
}
bool SUPERVGUI_Main::isFiltered(char* graph, char* node, char* type, char* message,
// blocking function of Engine. Return from there only after anEvent happens on node aNode
myMain->getDataflow()->Event(aNode, aEvent, aState);
+
+ // in case node "said" something during changing state through notification mechanism - output it
+ myMain->syncNotification();
// "kill" or undefined event came
if (( aEvent == SUPERV::UndefinedEvent && aState == SUPERV::UndefinedState ) ||