Place the splineWidget to complete the judgment

How can I tell that the widget placement is done with an indeterminate number of handles like splineWidget. distanceWidget can be judged by the length of handleList.

I’m not sure to understand your question, can you please reformulate ?

In distanceWidget, I can judge by judging the length of handleList in widgetFactory.getWidegtState().onModified(), this widget is placed. In splineWidget, the length of HandleList cannot be used to determine whether the placement is complete

Indeed, a distance is made of 2 points. A spline is made of as many points as possible.

You can observe the Widget EndInteractionEvent instead of the widgetState ModifiedEvent.