♻️ use clipIn/Out for multi-shot

This commit is contained in:
Ondřej Samohel 2024-04-19 14:53:16 +02:00
parent 9aac8699f7
commit 75cbb65c17
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -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