Closed clemense closed 1 month ago
This fixes the following problem:
import trimesh b = trimesh.primitives.Box() b.visual.face_colors[:] = [0, 0, 255, 255] assert b.visual.defined == b.copy().visual.defined
This in turn affects dump and export.
dump
export
I added include_visual as a parameter just to be consistent with base.py::Trimesh::copy.
include_visual
base.py::Trimesh::copy
Looks good, thanks for the PR!
This fixes the following problem:
This in turn affects
dump
andexport
.I added
include_visual
as a parameter just to be consistent withbase.py::Trimesh::copy
.