diff --git a/openpype/hosts/tvpaint/plugins/create/create_render.py b/openpype/hosts/tvpaint/plugins/create/create_render.py index 667103432e5..b2ff84891df 100644 --- a/openpype/hosts/tvpaint/plugins/create/create_render.py +++ b/openpype/hosts/tvpaint/plugins/create/create_render.py @@ -148,6 +148,7 @@ def apply_settings(self, project_settings): self.default_variants = plugin_settings["default_variants"] self.default_pass_name = plugin_settings["default_pass_name"] self.mark_for_review = plugin_settings["mark_for_review"] + self.enabled = plugin_settings.get("enabled", True) def get_dynamic_data( self, variant, task_name, asset_doc, project_name, host_name, instance @@ -395,6 +396,7 @@ def apply_settings(self, project_settings): self.default_variant = plugin_settings["default_variant"] self.default_variants = plugin_settings["default_variants"] self.mark_for_review = plugin_settings["mark_for_review"] + self.enabled = plugin_settings.get("enabled", True) def collect_instances(self): instances_by_identifier = self._cache_and_get_instances() @@ -1060,6 +1062,7 @@ def apply_settings(self, project_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.get("enabled", True) def get_dynamic_data(self, variant, *args, **kwargs): dynamic_data = super().get_dynamic_data(variant, *args, **kwargs) diff --git a/openpype/hosts/tvpaint/plugins/create/create_review.py b/openpype/hosts/tvpaint/plugins/create/create_review.py index 5caf20f27df..59dbef75e76 100644 --- a/openpype/hosts/tvpaint/plugins/create/create_review.py +++ b/openpype/hosts/tvpaint/plugins/create/create_review.py @@ -20,6 +20,7 @@ def apply_settings(self, project_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.get("enabled", True) def create(self): existing_instance = None diff --git a/openpype/hosts/tvpaint/plugins/create/create_workfile.py b/openpype/hosts/tvpaint/plugins/create/create_workfile.py index 4ce5d7fc965..6d9e0a3c4ad 100644 --- a/openpype/hosts/tvpaint/plugins/create/create_workfile.py +++ b/openpype/hosts/tvpaint/plugins/create/create_workfile.py @@ -16,6 +16,7 @@ def apply_settings(self, project_settings): ) self.default_variant = plugin_settings["default_variant"] self.default_variants = plugin_settings["default_variants"] + self.enabled = plugin_settings.get("enabled", True) def create(self): existing_instance = None