|
I have a scripted material plugin, in which I have a bitmap. When I edit the bitmap file outside of Max, the bitmap will automatically update in Max. Unless it happens to be a .tif. If it’s a .tif, it won’t update in Max at all. I can re-select the file and it doesn’t update. I can reload the max file, and it doesn’t update. I have to close and reopen Max to get it to update.
I thought of adding a Reload button, but, what should that Reload button do? I’ve tried calling FreeSceneBitmaps(), and delegate.reloadEffect(). I can’t find any other function that might reload the bitmap.
The Reload button in the standard DirectX Shader works properly. TIF files don’t update automatically, but when I press their Reload button they are updated. So what exactly does the Reload button do, and how do I do that from script?
Thanks,
Mike.
|
|
|
|
What shows in the listener when the Reload button is pressed?
~Dave
http://www.max-realms.com - 3ds Max models, tutorials and forums
Max3-2010
|
|
|