In the drawing an incomplete ellipse arc is indicated as first stage of an interactive tool.
Because incomplete and an active option in the Option Toolbar the full ellipse is added as auxiliary shape in .prototype.getAuxPreview
Just to give the user an idea of how the ellipse would look like as full ellipse.
Cursor position changes and this.updatePreview(); is called on regular base. By default the clear flag is false.
When we clear the option on the Option Toolbar the full ellipse auxiliary shape is not required.


On changing the option by its shortcut to cleared:
First thing that happens is updating the internal flag according the option checkbox: false.
As last we call this.updatePreview(true);
Explanation:
- Parameters: clear True to clear the preview first.
This is necessary if the preview is updated not as a result of a mouse move event,
e.g. when changing action parameters in the options toolbar.
-> This effectively removes former preview shapes, solutions only valid for a full ellipse.
Calls this.getOperation(true); in preview mode and adds the returned operation: di.previewOperation(op);
-> Adding only the solutions that are valid for the ellipse arc.
Calls this.getAuxPreview(); for auxiliary shapes.
-> Depending on the flag and if the shape was an ellipse arc this generates the full ellipse auxiliary shape.

As last it calls this.getHighlightedEntities(); what is empty at this stage and then di.repaintViews();

By no means I can remove it once it was added before.
From a previous use in cleared state, activating the options works as intended.
Clearing it has no effect.
I can throttle back with an escape event and re-indicated the ellipse arc entity.
Starting over new, the auxiliary shapes are correct.
Until I set the option an clear it again ...
What must be done to regenerate the correct preview including only the intended and new auxiliary shapes?
Regards,
CVH