mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Fix setting the correct order
This commit is contained in:
parent
4eece5e6e9
commit
2871ecac7d
1 changed files with 3 additions and 2 deletions
|
|
@ -340,8 +340,9 @@ class CollectUSDLayerContributions(pyblish.api.InstancePlugin,
|
|||
attr_values[key] = attr_values[key].format(**data)
|
||||
|
||||
# Define contribution
|
||||
order = self.contribution_layers.get(
|
||||
attr_values["contribution_layer"], 0
|
||||
scope: str = attr_values["contribution_target_product_init"]
|
||||
order: int = (
|
||||
self.contribution_layers[scope][attr_values["contribution_layer"]]
|
||||
)
|
||||
|
||||
if attr_values["contribution_apply_as_variant"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue