Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuke: Fix workfile template placeholder creation #4512

Merged
merged 1 commit into from
Feb 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions openpype/hosts/nuke/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
parse_container,
update_container,

get_workfile_build_placeholder_plugins,
)
from .lib import (
INSTANCE_DATA_KNOB,
Expand Down Expand Up @@ -79,8 +78,6 @@
"parse_container",
"update_container",

"get_workfile_build_placeholder_plugins",

"INSTANCE_DATA_KNOB",
"ROOT_DATA_KNOB",
"maintained_selection",
Expand Down
13 changes: 6 additions & 7 deletions openpype/hosts/nuke/api/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ def workfile_has_unsaved_changes(self):
def get_workfile_extensions(self):
return file_extensions()

def get_workfile_build_placeholder_plugins(self):
iLLiCiTiT marked this conversation as resolved.
Show resolved Hide resolved
return [
NukePlaceholderLoadPlugin,
NukePlaceholderCreatePlugin
]

def get_containers(self):
return ls()

Expand Down Expand Up @@ -200,13 +206,6 @@ def _show_workfiles():
host_tools.show_workfiles(parent=None, on_top=False)


def get_workfile_build_placeholder_plugins():
return [
NukePlaceholderLoadPlugin,
NukePlaceholderCreatePlugin
]


def _install_menu():
# uninstall original avalon menu
main_window = get_main_window()
Expand Down