mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Set context settings on startup.
This commit is contained in:
parent
e5fd39d911
commit
e36f289f44
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue