Skip to content

Commit

Permalink
Fix fps
Browse files Browse the repository at this point in the history
  • Loading branch information
tokejepsen committed Apr 30, 2024
1 parent ec075d0 commit e6118a8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions openpype/hosts/maya/plugins/load/load_arnold_standin.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,8 @@ def load(self, context, name, namespace, options):
sequence = is_sequence(os.listdir(os.path.dirname(repre_path)))
cmds.setAttr(standin_shape + ".useFrameExtension", sequence)

fps = (
float(version["data"].get("fps")) or get_current_session_fps()
)
cmds.setAttr(standin_shape + ".abcFPS", fps)
fps = version["data"].get("fps") or get_current_session_fps()
cmds.setAttr(standin_shape + ".abcFPS", float(fps))

nodes = [root, standin, standin_shape]
if operator is not None:
Expand Down

0 comments on commit e6118a8

Please sign in to comment.