clarified some fixme comments

This commit is contained in:
itsmattkc
2019-11-19 22:14:11 +09:00
parent 51c95cc48f
commit 54ecc01dbe
+2 -2
View File
@@ -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<Block*>(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<Block*>(edge->output()->parent())->next_ = nullptr;
// The blocks surrounding this one have changed, we need to Refresh()