From ce14effdd1e9c3a29ad178dec14b392713ec9900 Mon Sep 17 00:00:00 2001 From: Bruno Fargnoli Date: Tue, 27 Jan 2026 22:08:06 +0100 Subject: [PATCH] Added missing package in requirements.txt file --- nodes.py | 12 ++++++++---- requirements.txt | 3 ++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/nodes.py b/nodes.py index f8d76a1..ce24b91 100644 --- a/nodes.py +++ b/nodes.py @@ -1967,10 +1967,14 @@ class Trellis2MeshRefiner: faces = mesh.faces.cuda() # Build BVH for the current mesh to guide remeshing - print(f"Building BVH for current mesh...") - bvh = CuMesh.cuBVH(vertices, faces) - bvh.vertices = vertices - bvh.faces = faces + if generate_texture_slat: + print("Building BVH for current mesh...") + bvh = CuMesh.cuBVH(vertices, faces) + bvh.vertices = vertices + bvh.faces = faces + else: + print('Not building BVH, only used for texturing') + bvh = None return (mesh, bvh,) diff --git a/requirements.txt b/requirements.txt index b5d3e01..f8b16e7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,5 @@ requests pymeshlab opencv-python scipy -open3d \ No newline at end of file +open3d +plotly \ No newline at end of file