aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node
diff options
context:
space:
mode:
Diffstat (limited to 'node')
-rw-r--r--node/ifnode.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/node/ifnode.cpp b/node/ifnode.cpp
index da852b3..3df60de 100644
--- a/node/ifnode.cpp
+++ b/node/ifnode.cpp
@@ -59,32 +59,25 @@ void IfNode::run(ExecutionNode *previous)
{
for(Die* dice : diceList)
{
- qDebug()<< "dice value:" << dice->getValue();
if(m_validator->hasValid(dice,true,true))
{
- qDebug()<< "true";
nextNode = (nullptr==m_true) ? nullptr: m_true->getCopy();
}
else
{
- qDebug()<< "false";
nextNode = (nullptr==m_false) ? nullptr: m_false->getCopy();
}
- qDebug()<< "dice value:" << dice->getValue() << "next node" << nextNode << "m_true" << m_true;
if(nullptr!=nextNode)
{
if(nullptr==previousLoop->getNextNode())
{
- qDebug() << "iniside loop";
previousLoop->setNextNode(nextNode);
}
if(nullptr==m_nextNode)
{
- qDebug() << "next node" ;
m_nextNode = nextNode;
}
- qDebug() << "before run";
nextNode->run(previousLoop);
previousLoop = getLeafNode(nextNode);
}