aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/paintnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/paintnode.cpp')
-rw-r--r--node/paintnode.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/node/paintnode.cpp b/node/paintnode.cpp
index c0c7079..22c020e 100644
--- a/node/paintnode.cpp
+++ b/node/paintnode.cpp
@@ -83,16 +83,14 @@ void PainterNode::run(ExecutionNode* previous)
++pastDice;
}
}
+ m_diceResult->setPrevious(previousResult);
+ m_result= m_diceResult;
}
if(nullptr != m_nextNode)
{
m_nextNode->run(this);
}
}
-Result* PainterNode::getResult()
-{
- return m_diceResult;
-}
QString PainterNode::toString(bool wl) const
{