ShapeWidget Example failure

The ShapeWidget Example doesn’t seem to work. It generates the console error:

Uncaught TypeError: Cannot read properties of undefined (reading 'setVisible')

Does anyone know how long this has been broken? Are there any other samples of how to use the RectangleWidget?


@finetjul do you know if fix(shapewidget): Fix and improve ShapeWidget by tomsuchel · Pull Request #2054 · Kitware/vtk-js · GitHub should fix ShapeWidget usage?

@Forrest yes, it should fix all ShapeWidget errors. I’ll try to get it merged this week.

1 Like

Hi @finetjul. Do we have any idea when this will be merged and released? Thanks.

Should be good this week.

1 Like

Hi @seattlewayne, it has been merged. Please let me know if you have any issue with it.


1 Like