From 54ecc01dbe34783b924867d4dbf0969b0923702f Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 19 Nov 2019 22:14:11 +0900 Subject: [PATCH] clarified some fixme comments --- app/node/block/block.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/node/block/block.cpp b/app/node/block/block.cpp index 47b2fc46f..5b6264100 100644 --- a/app/node/block/block.cpp +++ b/app/node/block/block.cpp @@ -110,7 +110,7 @@ QVariant Block::Value(NodeOutput *output) void Block::EdgeAddedSlot(NodeEdgePtr edge) { if (edge->input() == previous_input()) { - // FIXME: No protection for if this connection is not a node + // FIXME: No protection for if this connection is not a block static_cast(edge->output()->parent())->next_ = this; // The blocks surrounding this one have changed, we need to Refresh() @@ -124,7 +124,7 @@ void Block::EdgeAddedSlot(NodeEdgePtr edge) void Block::EdgeRemovedSlot(NodeEdgePtr edge) { if (edge->input() == previous_input()) { - // FIXME: No protection for if this connection is not a node + // FIXME: No protection for if this connection is not a block static_cast(edge->output()->parent())->next_ = nullptr; // The blocks surrounding this one have changed, we need to Refresh()