mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Nuke: auto apply all settings after template build
This commit is contained in:
parent
2175874686
commit
726f6f3fdb
1 changed files with 5 additions and 1 deletions
|
|
@ -25,7 +25,8 @@ from .lib import (
|
|||
select_nodes,
|
||||
duplicate_node,
|
||||
node_tempfile,
|
||||
get_main_window
|
||||
get_main_window,
|
||||
WorkfileSettings,
|
||||
)
|
||||
|
||||
PLACEHOLDER_SET = "PLACEHOLDERS_SET"
|
||||
|
|
@ -955,6 +956,9 @@ def build_workfile_template(*args, **kwargs):
|
|||
builder = NukeTemplateBuilder(registered_host())
|
||||
builder.build_template(*args, **kwargs)
|
||||
|
||||
# set all settings to shot context default
|
||||
WorkfileSettings().set_context_settings()
|
||||
|
||||
|
||||
def update_workfile_template(*args):
|
||||
builder = NukeTemplateBuilder(registered_host())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue