You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for a fantastic library. It comes in very useful for me all the time!
I ran into a small bug though. Trying to run the example examples/widget.py I got this error: ImportError: cannot import name 'geometry_hash' from 'trimesh.viewer.windowed'
It seems this function was renamed from geometry_hash to _geometry_hash in commit e68432c but the import was not updated in trimesh/viewer/widget.py.
Changing the widget.py import in my venv site-packages to
from .. import rendering
from .trackball import Trackball
from .windowed import SceneViewer
from .windowed import _geometry_hash as geometry_hash
fixed the issue for me.
The text was updated successfully, but these errors were encountered:
Thanks for a fantastic library. It comes in very useful for me all the time!
I ran into a small bug though. Trying to run the example examples/widget.py I got this error:
ImportError: cannot import name 'geometry_hash' from 'trimesh.viewer.windowed'
It seems this function was renamed from
geometry_hash
to_geometry_hash
in commit e68432c but the import was not updated intrimesh/viewer/widget.py
.Changing the widget.py import in my venv site-packages to
fixed the issue for me.
The text was updated successfully, but these errors were encountered: