move the custom popup menu to nuke/startup and add the frame setting to Openpype tool menu

This commit is contained in:
Kayla Man 2023-05-30 21:44:26 +08:00
parent 3d4b1bc1a4
commit 2e58cd2e1a
4 changed files with 61 additions and 54 deletions

View file

@ -222,6 +222,13 @@
"title": "OpenPype Docs",
"command": "import webbrowser;webbrowser.open(url='https://openpype.io/docs/artist_hosts_nuke_tut')",
"tooltip": "Open the OpenPype Nuke user doc page"
},
{
"type": "action",
"sourcetype": "python",
"title": "Set Frame Range(Read Node)",
"command": "from openpype.hosts.nuke.startup import custom_popup;from openpype.hosts.nuke.startup.custom_popup import get_main_window;custom_popup.CustomScriptDialog(parent=get_main_window()).show();",
"tooltip": "Set Frame Range for Read Node(s)"
}
]
},