fix hound

This commit is contained in:
Ondrej Samohel 2021-04-16 16:15:58 +02:00 committed by Ondrej Samohel
parent c93434812e
commit 7dcd7bc317
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
2 changed files with 5 additions and 7 deletions

View file

@ -119,7 +119,8 @@ class RedshiftProxyLoader(api.Loader):
transform.
"""
rs_mesh = cmds.createNode('RedshiftProxyMesh', name="{}_RS".format(name))
rs_mesh = cmds.createNode(
'RedshiftProxyMesh', name="{}_RS".format(name))
mesh_shape = cmds.createNode("mesh", name="{}_GEOShape".format(name))
cmds.setAttr("{}.fileName".format(rs_mesh),

View file

@ -44,12 +44,9 @@ class ExtractRedshiftProxy(openpype.api.Extractor):
root, ext = os.path.splitext(file_path)
# 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(
int(math.log10(int(end_frame)) + 1), "0"),
ext,
) for frame in range(
repr_files = [
"{}.{}{}".format(root, str(frame).rjust(int(math.log10(int(end_frame)) + 1), "0"), ext) # noqa: E501
for frame in range(
int(start_frame),
int(end_frame) + 1,
int(instance.data["proxyFrameStep"]),