mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 07:47:06 +08:00
remove Preview3D from BE
This commit is contained in:
parent
5b1fb8db38
commit
39fdd1f0f3
@ -84,33 +84,12 @@ class Load3DAnimation():
|
|||||||
|
|
||||||
return output_image, output_mask, model_file,
|
return output_image, output_mask, model_file,
|
||||||
|
|
||||||
class Preview3D():
|
|
||||||
@classmethod
|
|
||||||
def INPUT_TYPES(s):
|
|
||||||
return {"required": {
|
|
||||||
"model_file": ("STRING", {"default": "", "multiline": False}),
|
|
||||||
"image": ("PREVIEW_3D", {}),
|
|
||||||
"show_grid": ([True, False],),
|
|
||||||
"camera_type": (["perspective", "orthographic"],),
|
|
||||||
"view": (["front", "right", "top", "isometric"],),
|
|
||||||
"material": (["original", "normal", "wireframe", "depth"],),
|
|
||||||
"bg_color": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFF, "step": 1, "display": "color"}),
|
|
||||||
"light_intensity": ("INT", {"default": 10, "min": 1, "max": 20, "step": 1}),
|
|
||||||
"up_direction": (["original", "-x", "+x", "-y", "+y", "-z", "+z"],),
|
|
||||||
}}
|
|
||||||
|
|
||||||
RETURN_TYPES = ()
|
|
||||||
|
|
||||||
CATEGORY = "3d"
|
|
||||||
|
|
||||||
NODE_CLASS_MAPPINGS = {
|
NODE_CLASS_MAPPINGS = {
|
||||||
"Load3D": Load3D,
|
"Load3D": Load3D,
|
||||||
"Load3DAnimation": Load3DAnimation,
|
"Load3DAnimation": Load3DAnimation
|
||||||
"Preview3D": Preview3D
|
|
||||||
}
|
}
|
||||||
|
|
||||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||||
"Load3D": "Load 3D",
|
"Load3D": "Load 3D",
|
||||||
"Load3DAnimation": "Load 3D - Animation",
|
"Load3DAnimation": "Load 3D - Animation"
|
||||||
"Preview3D": "Preview 3D"
|
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user