diff --git a/Sources/Widgets/Representations/SplineContextRepresentation/index.js b/Sources/Widgets/Representations/SplineContextRepresentation/index.js index 364fe5c662c..8b652083c43 100644 --- a/Sources/Widgets/Representations/SplineContextRepresentation/index.js +++ b/Sources/Widgets/Representations/SplineContextRepresentation/index.js @@ -1,6 +1,6 @@ import macro from 'vtk.js/Sources/macro'; import vtkActor from 'vtk.js/Sources/Rendering/Core/Actor'; -import vtkHandleRepresentation from 'vtk.js/Sources/Widgets/Representations/HandleRepresentation'; +import vtkContextRepresentation from 'vtk.js/Sources/Widgets/Representations/ContextRepresentation'; import vtkMapper from 'vtk.js/Sources/Rendering/Core/Mapper'; import vtkPolyData from 'vtk.js/Sources/Common/DataModel/PolyData'; import vtkSpline3D from 'vtk.js/Sources/Common/DataModel/Spline3D'; @@ -155,7 +155,7 @@ const DEFAULT_VALUES = { export function extend(publicAPI, model, initialValues = {}) { Object.assign(model, DEFAULT_VALUES, initialValues); - vtkHandleRepresentation.extend(publicAPI, model, initialValues); + vtkContextRepresentation.extend(publicAPI, model, initialValues); macro.get(publicAPI, model, ['mapper']); macro.setGet(publicAPI, model, [ 'resolution',