AYON: Apply unknown ayon settings first (#5435)

* apply unknown ayon settings first

* added "Main" to empty default variants

* use 'default_variants' in aftereffects creator
This commit is contained in:
Jakub Trllo 2023-08-11 16:23:27 +02:00 committed by GitHub
parent eaf248fefe
commit dd27f4e839
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 4 deletions

View file

@ -28,7 +28,6 @@ class RenderCreator(Creator):
create_allow_context_change = True
# Settings
default_variants = []
mark_for_review = True
def create(self, subset_name_from_ui, data, pre_create_data):
@ -171,6 +170,10 @@ class RenderCreator(Creator):
)
self.mark_for_review = plugin_settings["mark_for_review"]
self.default_variants = plugin_settings.get(
"default_variants",
plugin_settings.get("defaults") or []
)
def get_detail_description(self):
return """Creator for Render instances