mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix hound
This commit is contained in:
parent
c93434812e
commit
7dcd7bc317
2 changed files with 5 additions and 7 deletions
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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"]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue