nodeview: ignore enabled input when dropping

This commit is contained in:
itsmattkc
2022-05-07 09:46:13 -07:00
parent 180be5fe46
commit 677ed38ff9
+5
View File
@@ -571,6 +571,11 @@ void NodeView::mouseMoveEvent(QMouseEvent *event)
} else {
// Otherwise, we may have to iterate to find a valid one
for (const QString& input : attached_node->inputs()) {
if (input == Node::kEnabledInput) {
// Ignore enabled input
continue;
}
NodeInput i(attached_node, input);
if (attached_node->IsInputConnectable(input)) {