0
$\begingroup$

When over shader node property, I want to add a RMB Custom menu item to call a function: enter image description here

For what it's worth, the function would add a custom property with the name of the Node.field, and would add a driver that uses the value of this Custom Property.

I would eventually like to extend this to other properties on an object's properties.

$\endgroup$
1
  • 1
    $\begingroup$ The menu is UI_MT_button_context_menu, but I don't know how to get the property that was clicked on. See this. $\endgroup$
    – scurest
    Mar 17 at 21:44

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.