node: implement array start offset

This commit is contained in:
itsmattkc
2022-07-17 14:48:00 -07:00
parent 04c1693297
commit 4c71a33b7b
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -373,7 +373,7 @@ void NodeViewItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
if (element_ == -1) {
node_name = node_->GetInputName(input_);
} else {
node_name = QString::number(element_);
node_name = QString::number(element_ + node_->GetInputProperty(input_, QStringLiteral("arraystart")).toInt());
}
}