diff --git a/meshroom/ui/qml/Controls/DelegateSelectionBox.qml b/meshroom/ui/qml/Controls/DelegateSelectionBox.qml index da9d5559..a24c5214 100644 --- a/meshroom/ui/qml/Controls/DelegateSelectionBox.qml +++ b/meshroom/ui/qml/Controls/DelegateSelectionBox.qml @@ -25,6 +25,15 @@ SelectionBox { const delegateRect = Qt.rect(delegate.x, delegate.y, delegate.width, delegate.height); if (Geom2D.rectRectIntersect(mappedSelectionRect, delegateRect)) { selectedIndices.push(i); + + // Check if the node is a backdrop + // If so add all of it's children indices as well + if (delegate.isBackdrop) { + let children = delegate.getChildrenIndices(true); + for (var c = 0; c < children.length; c++) { + selectedIndices.push(children[c]); + } + } } } delegateSelectionEnded(selectedIndices, modifiers);