mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-30 02:37:26 +02:00
[ui] disable interactive connections on ListAttribute (not implemented yet)
This commit is contained in:
parent
3ad62edcbb
commit
9b71af3303
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ Row {
|
||||||
// Filter drops:
|
// Filter drops:
|
||||||
if( drag.source.objectName != dragTarget.objectName // not an edge connector
|
if( drag.source.objectName != dragTarget.objectName // not an edge connector
|
||||||
|| drag.source.nodeItem == dragTarget.nodeItem // connection between attributes of the same node
|
|| drag.source.nodeItem == dragTarget.nodeItem // connection between attributes of the same node
|
||||||
|| (dragTarget.isOutput) // connection on an output
|
|| dragTarget.isOutput // connection on an output
|
||||||
|
|| dragTarget.isList // TEMP: disable connection to list
|
||||||
|| dragTarget.attribute.isLink) // already connected attribute
|
|| dragTarget.attribute.isLink) // already connected attribute
|
||||||
{
|
{
|
||||||
drag.accepted = false
|
drag.accepted = false
|
||||||
|
|
Loading…
Add table
Reference in a new issue