Deprecate basic voxel to mesh node in favor on the newest one

This commit is contained in:
Alexis Rolland 2026-05-20 08:32:16 +08:00
parent d0328b442d
commit 2e59ed8beb

View File

@ -419,7 +419,7 @@ class VoxelToMeshBasic(IO.ComfyNode):
def define_schema(cls): def define_schema(cls):
return IO.Schema( return IO.Schema(
node_id="VoxelToMeshBasic", node_id="VoxelToMeshBasic",
display_name="Voxel to Mesh (Basic)", display_name="Voxel to Mesh (Basic) (Deprecated)",
category="3d", category="3d",
inputs=[ inputs=[
IO.Voxel.Input("voxel"), IO.Voxel.Input("voxel"),
@ -427,7 +427,8 @@ class VoxelToMeshBasic(IO.ComfyNode):
], ],
outputs=[ outputs=[
IO.Mesh.Output(), IO.Mesh.Output(),
] ],
is_deprecated=True,
) )
@classmethod @classmethod
@ -455,7 +456,7 @@ class VoxelToMesh(IO.ComfyNode):
category="3d", category="3d",
inputs=[ inputs=[
IO.Voxel.Input("voxel"), IO.Voxel.Input("voxel"),
IO.Combo.Input("algorithm", options=["surface net", "basic"], advanced=True), IO.Combo.Input("algorithm", options=["surface net", "basic"]),
IO.Float.Input("threshold", default=0.6, min=-1.0, max=1.0, step=0.01), IO.Float.Input("threshold", default=0.6, min=-1.0, max=1.0, step=0.01),
], ],
outputs=[ outputs=[