mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
defined new role defying if asset item is modifiable
This commit is contained in:
parent
048f856f63
commit
35e7cb7b46
2 changed files with 3 additions and 1 deletions
|
|
@ -3,3 +3,4 @@ from Qt import QtCore
|
|||
|
||||
IDENTIFIER_ROLE = QtCore.Qt.UserRole + 1
|
||||
DUPLICATED_ROLE = QtCore.Qt.UserRole + 2
|
||||
HIERARCHY_CHANGE_ABLE_ROLE = QtCore.Qt.UserRole + 3
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ from uuid import uuid4
|
|||
|
||||
from .constants import (
|
||||
IDENTIFIER_ROLE,
|
||||
DUPLICATED_ROLE
|
||||
DUPLICATED_ROLE,
|
||||
HIERARCHY_CHANGE_ABLE_ROLE
|
||||
)
|
||||
from pymongo import UpdateOne
|
||||
from avalon.vendor import qtawesome
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue