mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 00:38:41 +02:00
[core] maintain a model with CompatibilityNodes on topology change
This commit is contained in:
parent
3417f58335
commit
8679fd8bf7
2 changed files with 16 additions and 3 deletions
|
@ -214,8 +214,7 @@ class QObjectListModel(QtCore.QAbstractListModel):
|
|||
self.extend(objects)
|
||||
|
||||
def reset(self, objects):
|
||||
self.clear()
|
||||
self.update(objects)
|
||||
self.setObjectList(objects)
|
||||
|
||||
def contains(self, obj):
|
||||
""" Returns true if the list contains an occurrence of object;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue