aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/paintnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/paintnode.cpp')
-rw-r--r--node/paintnode.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/node/paintnode.cpp b/node/paintnode.cpp
index fe5a324..e0a7a74 100644
--- a/node/paintnode.cpp
+++ b/node/paintnode.cpp
@@ -47,7 +47,6 @@ void ColorItem::setColor(const QString& color)
PainterNode::PainterNode() : ExecutionNode()
{
- m_result= nullptr;
m_nextNode= nullptr;
}
@@ -90,7 +89,7 @@ void PainterNode::run(ExecutionNode* previous)
}
Result* PainterNode::getResult()
{
- return (nullptr != m_previousNode) ? m_previousNode->getResult() : nullptr;
+ return m_diceResult;
}
QString PainterNode::toString(bool wl) const