[Bug] Incorrect interface for `insertNextPoint` on `vtkPoints`
ramonemiliani93 opened this issue ยท 1 comments
ramonemiliani93 commented
Bug description
The insertNextPoint
calls the parent class insertNextTuple
method which returns the idx of the inserted point.
Steps to reproduce
import vtkPoints from "@kitware/vtk.js/Common/Core/Points";
const points = vtkPoints.newInstance();
const idx = points.insertNextPoint(1, 2, 3) // idx exists but warns void function return value is used
Detailed Behavior
No response
Expected Behavior
Should not warn about returned idx
Environment
- vtk.js version: latest
- Browsers: chrome
- OS: MacOS
github-actions commented
๐ This issue has been resolved in version 30.5.2 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐