mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-05 08:16:47 +08:00
fix: remove unused ColorVisuals import (ruff F401)
This commit is contained in:
parent
b11129e169
commit
9e3e939db1
@ -99,7 +99,7 @@ class TrimeshData:
|
|||||||
def to_trimesh(self):
|
def to_trimesh(self):
|
||||||
"""Convert to trimesh.Trimesh (requires trimesh in the environment)."""
|
"""Convert to trimesh.Trimesh (requires trimesh in the environment)."""
|
||||||
import trimesh
|
import trimesh
|
||||||
from trimesh.visual import TextureVisuals, ColorVisuals
|
from trimesh.visual import TextureVisuals
|
||||||
|
|
||||||
kwargs = {}
|
kwargs = {}
|
||||||
if self.vertex_normals is not None:
|
if self.vertex_normals is not None:
|
||||||
|
|||||||
@ -99,7 +99,7 @@ class TrimeshData:
|
|||||||
def to_trimesh(self):
|
def to_trimesh(self):
|
||||||
"""Convert to trimesh.Trimesh (requires trimesh in the environment)."""
|
"""Convert to trimesh.Trimesh (requires trimesh in the environment)."""
|
||||||
import trimesh
|
import trimesh
|
||||||
from trimesh.visual import TextureVisuals, ColorVisuals
|
from trimesh.visual import TextureVisuals
|
||||||
|
|
||||||
kwargs = {}
|
kwargs = {}
|
||||||
if self.vertex_normals is not None:
|
if self.vertex_normals is not None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user