Skip to content

Commit

Permalink
Merge pull request #45 from ynput/44-deprecated-default-settings
Browse files Browse the repository at this point in the history
Fix deprecated default settings in `Custom Tools` and `Gizmo Menu`
  • Loading branch information
MustafaJafar authored Nov 26, 2024
2 parents f7c7a53 + 648babd commit 30ba1a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions server/settings/gizmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class GizmoItem(BaseSettingsModel):


DEFAULT_GIZMO_ITEM = {
"toolbar_menu_name": "OpenPype Gizmo",
"toolbar_menu_name": "AYON Gizmo",
"gizmo_source_dir": {
"windows": [],
"darwin": [],
Expand All @@ -69,7 +69,7 @@ class GizmoItem(BaseSettingsModel):
{
"sourcetype": "python",
"title": "Gizmo Note",
"command": "nuke.nodes.StickyNote(label='You can create your own toolbar menu in the Nuke GizmoMenu of OpenPype')",
"command": "nuke.nodes.StickyNote(label='You can create your own toolbar menu in the Nuke GizmoMenu of AYON.')",
"icon": "",
"shortcut": ""
}
Expand Down
6 changes: 3 additions & 3 deletions server/settings/scriptsmenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ class ScriptsmenuSettings(BaseSettingsModel):
"type": "action",
"sourcetype": "python",
"title": "Set Frame Start (Read Node)",
"command": "from openpype.hosts.nuke.startup.frame_setting_for_read_nodes import main;main();", # noqa
"command": "from ayon_nuke.startup.frame_setting_for_read_nodes import main;main();", # noqa
"tooltip": "Set frame start for read node(s)"
},
{
"type": "action",
"sourcetype": "python",
"title": "Set non publish output for Write Node",
"command": "from openpype.hosts.nuke.startup.custom_write_node import main;main();", # noqa
"tooltip": "Open the OpenPype Nuke user doc page"
"command": "from ayon_nuke.startup.custom_write_node import main; main();", # noqa
"tooltip": "Set up write nodes for non-publish"
}
]
}

0 comments on commit 30ba1a5

Please sign in to comment.