diff --git a/pype/nuke/__init__.py b/pype/nuke/__init__.py index b64f728771..982724e899 100644 --- a/pype/nuke/__init__.py +++ b/pype/nuke/__init__.py @@ -23,6 +23,7 @@ from pypeapp import Logger # for handler in Logger.logging.root.handlers[:]]: # if "pype" not in str(name).lower(): # Logger.logging.root.removeHandler(handler) +from . import lib self = sys.modules[__name__] @@ -138,6 +139,9 @@ def install(): if launch_workfiles: nuke.addOnCreate(launch_workfiles_app, nodeClass="Root") + # Set context settings. + nuke.addOnCreate(lib.set_context_settings, nodeClass="Root") + def launch_workfiles_app(): if not self.workfiles_launched: