Merge pull request #5956 from ynput/bugfix/OP-6804_Maya-Redshift-proxy-with-Animation

Maya: Bug fix Redshift Proxy not being successfully published
This commit is contained in:
Kayla Man 2023-11-27 23:29:02 +08:00 committed by GitHub
commit 61e066b2d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,11 +50,11 @@ class ExtractRedshiftProxy(publish.Extractor):
# Padding is taken from number of digits of the end_frame.
# Not sure where Redshift is taking it.
repr_files = [
"{}.{}{}".format(root, str(frame).rjust(4, "0"), ext) # noqa: E501
"{}.{}{}".format(os.path.basename(root), str(frame).rjust(4, "0"), ext) # noqa: E501
for frame in range(
int(start_frame),
int(end_frame) + 1,
int(instance.data["step"]),
int(instance.data["step"])
)]
# vertex_colors = instance.data.get("vertexColors", False)