mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
♻️ use clipIn/Out for multi-shot
This commit is contained in:
parent
9aac8699f7
commit
75cbb65c17
1 changed files with 6 additions and 3 deletions
|
|
@ -163,9 +163,12 @@ class CreateMultishotLayout(plugin.MayaCreator):
|
||||||
|
|
||||||
shot_name = f"{shot['name']}%s" % (
|
shot_name = f"{shot['name']}%s" % (
|
||||||
f" ({shot['label']})" if shot["label"] else "")
|
f" ({shot['label']})" if shot["label"] else "")
|
||||||
shot_node = cmds.shot(sequenceStartTime=shot["attrib"]["clipIn"],
|
shot_node = cmds.shot(
|
||||||
sequenceEndTime=shot["attrib"]["clipOut"],
|
sequenceStartTime=shot["attrib"]["clipIn"],
|
||||||
shotName=shot_name)
|
sequenceEndTime=shot["attrib"]["clipOut"],
|
||||||
|
startTime=shot["attrib"]["clipIn"],
|
||||||
|
endTime=shot["attrib"]["clipOut"],
|
||||||
|
shotName=shot_name)
|
||||||
|
|
||||||
# Create layout instance by the layout creator
|
# Create layout instance by the layout creator
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue