From e6118a8f6a6e6432d7ef30a2cee462f9b6b2d2ce Mon Sep 17 00:00:00 2001 From: Toke Stuart Jepsen Date: Tue, 30 Apr 2024 11:54:13 +0100 Subject: [PATCH] Fix fps --- openpype/hosts/maya/plugins/load/load_arnold_standin.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/openpype/hosts/maya/plugins/load/load_arnold_standin.py b/openpype/hosts/maya/plugins/load/load_arnold_standin.py index effd184712f..49a8e59a6ba 100644 --- a/openpype/hosts/maya/plugins/load/load_arnold_standin.py +++ b/openpype/hosts/maya/plugins/load/load_arnold_standin.py @@ -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: