Skip to content

Commit b100e99

Browse files
committed
fix(ITKHelper): Forgot default arg for options
1 parent 69ae68b commit b100e99

File tree

1 file changed

+1
-1
lines changed
  • Sources/Common/DataModel/ITKHelper

1 file changed

+1
-1
lines changed

Sources/Common/DataModel/ITKHelper/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import vtkDataArray from 'vtk.js/Sources/Common/Core/DataArray';
66
*
77
* Requires an itk.js image as input.
88
*/
9-
function convertItkToVtkImage(itkImage, options) {
9+
function convertItkToVtkImage(itkImage, options = {}) {
1010
// create VTK image data
1111
const imageData = vtkImageData.newInstance({
1212
origin: itkImage.origin.slice(),

0 commit comments

Comments
 (0)