mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-13 21:16:09 +00:00
converted nodes files starting with "l" letter
This commit is contained in:
@@ -657,9 +657,34 @@ class Accumulation(ComfyTypeIO):
|
||||
accum: list[Any]
|
||||
Type = AccumulationDict
|
||||
|
||||
|
||||
@comfytype(io_type="LOAD3D_CAMERA")
|
||||
class Load3DCamera(ComfyTypeIO):
|
||||
Type = Any # TODO: figure out type for this; in code, only described as image['camera_info'], gotten from a LOAD_3D or LOAD_3D_ANIMATION type
|
||||
class CameraInfo(TypedDict):
|
||||
position: dict[str, float | int]
|
||||
target: dict[str, float | int]
|
||||
zoom: int
|
||||
cameraType: str
|
||||
|
||||
Type = CameraInfo
|
||||
|
||||
|
||||
@comfytype(io_type="LOAD_3D")
|
||||
class Load3D(ComfyTypeIO):
|
||||
"""3D models are stored as a dictionary."""
|
||||
class Model3DDict(TypedDict):
|
||||
image: str
|
||||
mask: str
|
||||
normal: str
|
||||
camera_info: Load3DCamera.CameraInfo
|
||||
recording: NotRequired[str]
|
||||
|
||||
Type = Model3DDict
|
||||
|
||||
|
||||
@comfytype(io_type="LOAD_3D_ANIMATION")
|
||||
class Load3DAnimation(Load3D):
|
||||
...
|
||||
|
||||
|
||||
@comfytype(io_type="PHOTOMAKER")
|
||||
|
@@ -479,7 +479,7 @@ class PreviewUI3D(_UIOutput):
|
||||
self.values = values
|
||||
|
||||
def as_dict(self):
|
||||
return {"3d": self.values}
|
||||
return {"result": self.values}
|
||||
|
||||
|
||||
class PreviewText(_UIOutput):
|
||||
|
Reference in New Issue
Block a user