Skip to content

Commit 37dfb10

Browse files
committed
fix(camera-info): make camera_info_state input optional
1 parent ac5fd8a commit 37dfb10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

comfy_extras/nodes_camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def define_schema(cls):
5757
tooltip="Digital zoom (focal-length multiplier). >1 zooms in without moving the camera."),
5858
IO.Combo.Input("camera_type", options=["perspective", "orthographic"],
5959
tooltip="Projection used by Render Splat: perspective (foreshortening) or orthographic (parallel)."),
60-
IO.CameraInfoState.Input("camera_info_state"),
60+
IO.CameraInfoState.Input("camera_info_state", optional=True),
6161
],
6262
outputs=[IO.Load3DCamera.Output(display_name="camera_info")],
6363
)

0 commit comments

Comments
 (0)