mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
fix settings access
This commit is contained in:
parent
51196290b2
commit
a651553fe6
3 changed files with 9 additions and 5 deletions
|
|
@ -118,7 +118,7 @@ class CreateRenderlayer(TVPaintCreator):
|
|||
|
||||
def apply_settings(self, project_settings, system_settings):
|
||||
plugin_settings = (
|
||||
project_settings["tvpain"]["create"]["create_render_layer"]
|
||||
project_settings["tvpaint"]["create"]["create_render_layer"]
|
||||
)
|
||||
self.default_variant = plugin_settings["default_variant"]
|
||||
self.default_variants = plugin_settings["default_variants"]
|
||||
|
|
@ -332,7 +332,7 @@ class CreateRenderPass(TVPaintCreator):
|
|||
|
||||
def apply_settings(self, project_settings, system_settings):
|
||||
plugin_settings = (
|
||||
project_settings["tvpain"]["create"]["create_render_pass"]
|
||||
project_settings["tvpaint"]["create"]["create_render_pass"]
|
||||
)
|
||||
self.default_variant = plugin_settings["default_variant"]
|
||||
self.default_variants = plugin_settings["default_variants"]
|
||||
|
|
@ -566,7 +566,7 @@ class TVPaintSceneRenderCreator(TVPaintAutoCreator):
|
|||
|
||||
def apply_settings(self, project_settings, system_settings):
|
||||
plugin_settings = (
|
||||
project_settings["tvpain"]["create"]["create_render_scene"]
|
||||
project_settings["tvpaint"]["create"]["create_render_scene"]
|
||||
)
|
||||
self.default_variant = plugin_settings["default_variant"]
|
||||
self.default_variants = plugin_settings["default_variants"]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,9 @@ class TVPaintReviewCreator(TVPaintAutoCreator):
|
|||
icon = "ei.video"
|
||||
|
||||
def apply_settings(self, project_settings, system_settings):
|
||||
plugin_settings = project_settings["tvpain"]["create"]["create_review"]
|
||||
plugin_settings = (
|
||||
project_settings["tvpaint"]["create"]["create_review"]
|
||||
)
|
||||
self.default_variant = plugin_settings["default_variant"]
|
||||
self.default_variants = plugin_settings["default_variants"]
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@ class TVPaintWorkfileCreator(TVPaintAutoCreator):
|
|||
active_on_create = True
|
||||
|
||||
def apply_settings(self, project_settings, system_settings):
|
||||
plugin_settings = project_settings["tvpain"]["create"]["create_workfile"]
|
||||
plugin_settings = (
|
||||
project_settings["tvpaint"]["create"]["create_workfile"]
|
||||
)
|
||||
self.default_variant = plugin_settings["default_variant"]
|
||||
self.default_variants = plugin_settings["default_variants"]
|
||||
self.active_on_create = plugin_settings["active_on_create"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue