defined new role defying if asset item is modifiable

This commit is contained in:
iLLiCiTiT 2021-05-10 18:14:02 +02:00
parent 048f856f63
commit 35e7cb7b46
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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