Notifications
Clear all
[Closed] Material Browsing callbacks
Oct 15, 2007 10:35 am
I’m making a shader tool for the grapichians to more easily access shaderfiles. Anyway I have been looking all over the Maxscript doc for a callback when the ‘current active material’ is changed in the ‘material editor’. I’m sure there must be one but what is it?
Does anyone have an idea, plz?
Jimmy Johansson
Mindark PE AB
1 Reply
Oct 15, 2007 10:35 am
Hrmm… I know not of a function that checks if material has changed. Check script reference for get active Material slot, and set active Material slot. If you are changing materials and then setting them active via script you can set a variable to keep track, and then check for the variable later…thats all I can think of at the moment.