Author Topic: material overide button toggle on toolbar  (Read 1632 times)

2015-07-15, 15:23:15

amitshneor

  • Active Users
  • **
  • Posts: 53
    • View Profile
how can i create a button on the toolbar that is a toggle state of the "material overide" checkbox ?

been using it a lot testing lights....

i know the script is : renderers.current.mtlOverride_enabled = true  or  false
but this force me to have 2 buttons.
how can i make it a toggle button?

thanks !