mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
changed key 'filepath' to 'representation_files'
This commit is contained in:
parent
64b4bdaf88
commit
1561a47906
2 changed files with 2 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ class SettingsCreator(TrayPublishCreator):
|
||||||
def get_instance_attr_defs(self):
|
def get_instance_attr_defs(self):
|
||||||
return [
|
return [
|
||||||
FileDef(
|
FileDef(
|
||||||
"filepath",
|
"representation_files",
|
||||||
folders=False,
|
folders=False,
|
||||||
extensions=self.extensions,
|
extensions=self.extensions,
|
||||||
allow_sequences=self.allow_sequences,
|
allow_sequences=self.allow_sequences,
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ class CollectSettingsSimpleInstances(pyblish.api.InstancePlugin):
|
||||||
representation_files_mapping
|
representation_files_mapping
|
||||||
):
|
):
|
||||||
creator_attributes = instance.data["creator_attributes"]
|
creator_attributes = instance.data["creator_attributes"]
|
||||||
filepath_items = creator_attributes["filepath"]
|
filepath_items = creator_attributes["representation_files"]
|
||||||
if not isinstance(filepath_items, list):
|
if not isinstance(filepath_items, list):
|
||||||
filepath_items = [filepath_items]
|
filepath_items = [filepath_items]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue