SphereHandleAdornment and LineHandleAdornment ZIndex ignored with AlwaysOnTop enabled

There is need to display SphereHandleAdornment on top of LineHandleAdornment even if AlwaysOnTop is enabled for both.

Like this:

But if lines are added later on, then they will be on top of spheres:

Note that I am parenting those to CoreUI, to make those interactive for a plugin.
Note that toggling adorment’s Visible setting to false/true, then it will be on top again.

The bug for me is that adorments should take ZIndex into account with other adorments with AlwaysOnTop enabled.

Thanks for the report! We are aware of this issue and are looking into a solution. However due to incompatibility in how these features are implemented, it is unlikely we’ll have a fix out soon.

1 Like

Thanks, let me know if I can help somehow. It is a small thing, but it would improve my plugin. I even tried to implement SphereHandleAdornment Visible false/true toggling, to render spheres on the front. But it works weirdly, one sphere will be in front but others will go back to previous “layer” - it is a mess. So currently using those without AlwaysOnTop. Hopefully it will be fixed at some point.