Skip to content

Commit

Permalink
ynput#169: bugfixe: add missing 'enabled' attribute to allow deactiva…
Browse files Browse the repository at this point in the history
…tion through settings
  • Loading branch information
Guilhemz committed Nov 9, 2023
1 parent 2b073b4 commit 35b2a31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions openpype/hosts/tvpaint/plugins/create/create_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,7 @@ def apply_settings(self, project_settings, system_settings):
self.mark_for_review = plugin_settings["mark_for_review"]
self.active_on_create = plugin_settings["active_on_create"]
self.default_pass_name = plugin_settings["default_pass_name"]
self.enabled = plugin_settings["enabled"]

def get_dynamic_data(self, variant, *args, **kwargs):
dynamic_data = super().get_dynamic_data(variant, *args, **kwargs)
Expand Down
1 change: 1 addition & 0 deletions openpype/hosts/tvpaint/plugins/create/create_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def apply_settings(self, project_settings, system_settings):
self.default_variant = plugin_settings["default_variant"]
self.default_variants = plugin_settings["default_variants"]
self.active_on_create = plugin_settings["active_on_create"]
self.enabled = plugin_settings["enabled"]

def create(self):
existing_instance = None
Expand Down
1 change: 1 addition & 0 deletions openpype/hosts/tvpaint/plugins/create/create_workfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def apply_settings(self, project_settings, system_settings):
)
self.default_variant = plugin_settings["default_variant"]
self.default_variants = plugin_settings["default_variants"]
self.enabled = plugin_settings["enabled"]

def create(self):
existing_instance = None
Expand Down

0 comments on commit 35b2a31

Please sign in to comment.