mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add new icon and remove projects folder
This commit is contained in:
parent
13d1e6bf42
commit
e86f1725bf
4 changed files with 1 additions and 2 deletions
|
|
@ -952,7 +952,6 @@ class WorkfileSettings(object):
|
|||
favorite_items = OrderedDict()
|
||||
|
||||
# project
|
||||
favorite_items.update({"Projects root": projects_root})
|
||||
favorite_items.update({"Project dir": os.path.join(
|
||||
projects_root, project).replace("\\", "/")})
|
||||
# shot
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ def set_context_favorites(favorites={}):
|
|||
favorites (dict): couples of {name:path}
|
||||
"""
|
||||
dir = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
|
||||
icon_path = os.path.join(dir, 'res', 'icons', 'folder-favorite.png')
|
||||
icon_path = os.path.join(dir, 'res', 'icons', 'folder-favorite3.png')
|
||||
|
||||
for name, path in favorites.items():
|
||||
nuke.addFavoriteDir(
|
||||
|
|
|
|||
BIN
res/icons/folder-favorite2.png
Normal file
BIN
res/icons/folder-favorite2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
res/icons/folder-favorite3.png
Normal file
BIN
res/icons/folder-favorite3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue