diff --git a/openpype/hosts/nuke/api/__init__.py b/openpype/hosts/nuke/api/__init__.py index bb60465e23..e6dab5cfc9 100644 --- a/openpype/hosts/nuke/api/__init__.py +++ b/openpype/hosts/nuke/api/__init__.py @@ -80,7 +80,7 @@ def install(): # Set context settings. nuke.addOnCreate(workfile_settings.set_context_settings, nodeClass="Root") nuke.addOnCreate(workfile_settings.set_favorites, nodeClass="Root") - nuke.addOnCreate(lib.process_workfile_options, nodeClass="Root") + nuke.addOnCreate(lib.process_workfile_builder, nodeClass="Root") nuke.addOnCreate(lib.launch_workfiles_app, nodeClass="Root") menu.install() diff --git a/openpype/hosts/nuke/api/lib.py b/openpype/hosts/nuke/api/lib.py index 223ae7abd9..ede1c7f59f 100644 --- a/openpype/hosts/nuke/api/lib.py +++ b/openpype/hosts/nuke/api/lib.py @@ -1642,7 +1642,7 @@ def launch_workfiles_app(): workfiles.show(os.environ["AVALON_WORKDIR"]) -def process_workfile_options(): +def process_workfile_builder(): from openpype.lib import ( env_value_to_bool, get_custom_workfile_template @@ -1697,7 +1697,7 @@ def process_workfile_options(): return # to avoid looping of the callback, remove it! - nuke.removeOnCreate(process_workfile_options, nodeClass="Root") + nuke.removeOnCreate(process_workfile_builder, nodeClass="Root") log.info("Opening last workfile...") # open workfile