View Full Version : Material Browsing callbacks
JimJoh 10-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
|
|
Bixel
10-17-2007, 07:44 PM
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.
CGTalk Moderation
10-17-2007, 07:44 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.