mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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)
|
attr_values[key] = attr_values[key].format(**data)
|
||||||
|
|
||||||
# Define contribution
|
# Define contribution
|
||||||
order = self.contribution_layers.get(
|
scope: str = attr_values["contribution_target_product_init"]
|
||||||
attr_values["contribution_layer"], 0
|
order: int = (
|
||||||
|
self.contribution_layers[scope][attr_values["contribution_layer"]]
|
||||||
)
|
)
|
||||||
|
|
||||||
if attr_values["contribution_apply_as_variant"]:
|
if attr_values["contribution_apply_as_variant"]:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue