Skip to content

Commit 36e4abb

Browse files
authored
Update nerfplugin_maya.py
1 parent 76bd535 commit 36e4abb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nerfstudio/scripts/maya/nerfplugin_maya.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,7 @@ def generate_camera(self):
275275

276276
# animate fov
277277
cmds.camera(self.cam_obj[0], edit=True, vfv=self.fov_list[curr_frame])
278-
+ cmds.setKeyframe(self.cam_obj[0], attribute="verticalFieldOfView", t=curr_frame) # set fov
279-
278+
cmds.setKeyframe(self.cam_obj[0], attribute="verticalFieldOfView", t=curr_frame) # set fov
280279
cmds.setAttr(f"{self.cam_obj[0]}.filmFit", 2) # set film gate to vertical
281280
cmds.setKeyframe(self.cam_obj[0], attribute="filmFit", t=curr_frame)
282281

0 commit comments

Comments
 (0)