Open Mt-Youya opened 1 year ago
You can try the beta release (https://github.com/Kitware/react-vtk-js/releases/tag/v2.0.0-beta.10) to see if that fixes your issue. Note that the beta release is not 100% ready for prime-time.
A quick fix would be to guard against an empty/deleted renderer in resetCamera()
.
code here
I copy docs "https://github.com/Kitware/react-vtk-js/blob/master/usage/src/Geometry/OBJViewer.jsx" code . But i got Error!