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):
return IO.Schema(
node_id="VoxelToMeshBasic",
display_name="Voxel to Mesh (Basic)",
display_name="Voxel to Mesh (Basic) (Deprecated)",
category="3d",
inputs=[
IO.Voxel.Input("voxel"),
@ -427,7 +427,8 @@ class VoxelToMeshBasic(IO.ComfyNode):
],
outputs=[
IO.Mesh.Output(),
]
],
is_deprecated=True,
)
@classmethod
@ -455,7 +456,7 @@ class VoxelToMesh(IO.ComfyNode):
category="3d",
inputs=[
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),
],
outputs=[