mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
roy's comment and uses import instead of from..import
This commit is contained in:
parent
debd40b119
commit
11728bae0e
2 changed files with 5 additions and 14 deletions
|
|
@ -227,7 +227,7 @@
|
|||
"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();",
|
||||
"command": "import openpype.hosts.nuke.startup.custom_popup as popup;popup.CustomScriptDialog(parent=popup.get_main_window()).show();",
|
||||
"tooltip": "Set Frame Range for Read Node(s)"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue