Extend right-click context menus for custom nodes?

shoei321shoei321 Posts: 113

Is there any way to add right-click context menu options for custom DzNode-derived objects? I'm interesting in adding menu options to the context menus that come up when right-clicking an object in the viewport as well as in the scene tab.

Thanks

Ivan

Comments

  • shoei321shoei321 Posts: 113
    edited December 1969

    On further reading it looks like this can be done by creating my own DzViewTool. However, is there any way to add context menu items to the existing ViewTools, like the translate/rotate/universal manipulator tools?

    Thanks

  • dtammdtamm Posts: 126
    edited December 1969

    shoei321 said:
    On further reading it looks like this can be done by creating my own DzViewTool. However, is there any way to add context menu items to the existing ViewTools, like the translate/rotate/universal manipulator tools?

    Thanks

    You should be able to connect to the signal on Dz3DViewport named contextMenuAboutToShow

Sign In or Register to comment.