Material/object color toggle

Can someone make a button/keystroke to toggle between the object color and the material color found in display panal.
Thanks.
Stephen

 

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
denisT's picture

here is "toggle"

here is "toggle" example:

displayColor.shaded = if (displayColor.shaded == #object) then #material else #object

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.