From: Lauffenburger Thomas Date: Wed, 14 Oct 2015 13:19:41 +0000 (+0200) Subject: Correction of bug when load from a state without node in error. X-Git-Tag: V8_0_pre~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=561c9d895695007dc5deb9eaf0a34ab65e3baacb;p=modules%2Fyacs.git Correction of bug when load from a state without node in error. --- diff --git a/src/engine/Node.cxx b/src/engine/Node.cxx index 75ed0d420..774e670e0 100644 --- a/src/engine/Node.cxx +++ b/src/engine/Node.cxx @@ -771,7 +771,7 @@ void Node::cleanNodes() void Node::resetState(int level) { DEBTRACE("Node::resetState " << getName() << "," << level << "," << _state); - if(_state==YACS::ERROR || _state==YACS::FAILED) + if(_state==YACS::ERROR || _state==YACS::FAILED || _state==YACS::ACTIVATED) { setState(YACS::READY); InGate* inGate = getInGate();