mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +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" % (
|
||||
f" ({shot['label']})" if shot["label"] else "")
|
||||
shot_node = cmds.shot(sequenceStartTime=shot["attrib"]["clipIn"],
|
||||
sequenceEndTime=shot["attrib"]["clipOut"],
|
||||
shotName=shot_name)
|
||||
shot_node = cmds.shot(
|
||||
sequenceStartTime=shot["attrib"]["clipIn"],
|
||||
sequenceEndTime=shot["attrib"]["clipOut"],
|
||||
startTime=shot["attrib"]["clipIn"],
|
||||
endTime=shot["attrib"]["clipOut"],
|
||||
shotName=shot_name)
|
||||
|
||||
# Create layout instance by the layout creator
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue