mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-01 07:48:37 +02:00
[ui] qml warning fix by using directly the edge object instead of the property
This commit is contained in:
parent
d001cc9e73
commit
76fd327fde
1 changed files with 2 additions and 1 deletions
|
@ -151,7 +151,8 @@ class Attribute(BaseObject):
|
|||
@property
|
||||
def isLink(self):
|
||||
""" Whether the attribute is a link to another attribute. """
|
||||
return self.node.graph and self.isInput and self in self.node.graph.edges.keys()
|
||||
# note: directly use self.node.graph._edges to avoid using the property that may become invalid at some point
|
||||
return self.node.graph and self.isInput and self in self.node.graph._edges.keys()
|
||||
|
||||
@staticmethod
|
||||
def isLinkExpression(value):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue