Skip to content

Commit

Permalink
fix 'frames_to_fix' doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
MustafaJafar committed Aug 7, 2024
1 parent 185dda7 commit 8b7b1b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/ayon_houdini/plugins/publish/extract_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def process(self, instance):
# because There will be missing frames as ROP nodes typically cannot render different
# frame ranges for each AOV; they always use the same frame range for all AOVs.
rop_node = hou.node(instance.data.get("instance_node"))
frames_to_fix = clique.parse(instance.data["frames_to_fix"], "{ranges}")
frames_to_fix = clique.parse(instance.data.get("frames_to_fix", ""), "{ranges}")

if len(set(frames_to_fix)) > 1:
# Render only frames to fix
Expand Down
2 changes: 1 addition & 1 deletion client/ayon_houdini/plugins/publish/extract_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def process(self, instance: pyblish.api.Instance):
location=instance.data['stagingDir'] if isinstance(files, (list, tuple)) else files
)
)
frames_to_fix = clique.parse(instance.data["frames_to_fix"], "{ranges}")
frames_to_fix = clique.parse(instance.data.get("frames_to_fix", ""), "{ranges}")

if len(set(frames_to_fix)) > 1:
# Render only frames to fix
Expand Down

0 comments on commit 8b7b1b5

Please sign in to comment.