improving label

This commit is contained in:
Jakub Jezek 2023-05-17 14:47:32 +02:00
parent 497a97b70d
commit fb3c4b613f
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
2 changed files with 7 additions and 3 deletions

View file

@ -58,10 +58,14 @@ class CollectInstanceData(pyblish.api.InstancePlugin):
# Include start and end render frame in label
subset = instance.data["subset"]
label = "{subset} ({start}-{end})".format(
label = (
"{subset} ({start}-{end}) [{handle_start}-{handle_end}]"
).format(
subset=subset,
start=int(start),
end=int(end)
end=int(end),
handle_start=int(handle_start),
handle_end=int(handle_end)
)
instance.data.update({

View file

@ -64,7 +64,7 @@ class CollectFusionRender(
version=version,
time="",
source=current_file,
label="{} - {}".format(subset_name, family),
label=inst.data["label"],
subset=subset_name,
asset=inst.data["asset"],
task=task_name,