Material Change Auto Activates Paint Bucket but How to Avoid it?


Hi, I am creating a tool and want users to be able to change material color but it deactivates my tool. Here is an example…

Can I avoid the paint tool activating when user pick a material?

Thanks in advance!


No but you can perhaps activate a ToolsObserver as soon as your tool activates, and detect the toolchange get the material choice and reactivate your tool. (Unload the observer when no longer needed.)


Another workaround consists of writing your own material browser in a Webdialog.

See also this:


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.