I have the following problem:
User can change the settings of my custom Render plugin from the Render panel. This works fine.
But it is also possible to change the Render parameters by opening the “Document Properties” dialog and selecting the Render option from the list. And changing parameters from this mode doesn’t work correctly.
It actually works just the opposite as it should. When user clicks on the OK button my Render parameters goes back to the previous state (Rhino writes back the start parameters automatically???), clicking on Cancel makes Rhino to keep the changed parameters.
What is the correct way to handle this? Should I catch Document Properties change event? Or?