CRhinoContextMenuExtension for layer list don't work in rhino 8

Hello, i have discover that my CRhinoContextMenuExtension for UUIDLayerList didn’t work anymore.

In rhino 7 right clicking on layer open my extention bellow the menu. In rhino 8 it doesn’t work anymore.
I have also try with the SampleUserInterface on github (rhino-developer-samples/tree/8/cpp/SampleUserInterface) but the same behaviour append. Works on 7 not on 8.

After further test, it appear that in rhino 8 we never enter in ShouldExtendContextMenu(CRhinoContextMenuContext& context) method with a irght on layer.

But my extention works if i right click the command panel.

Am i missing something? Do i need to add something new to my code? (it’s the same as in the sample)

Thanks you for your help.

Hi @guillaume2,

Yes, this is a know issue.

https://mcneel.myjetbrains.com/youtrack/issue/RH-75278

I don’t have a timeframe when this will be fixed.

– Dale

Thanks you for the reply. but your link lead to nothing :confused:

But because it is a know issue i can have hope thank you again :slight_smile:

@guillaume2 - I’ve opened the link.

– Dale

1 Like