jonlauf
10-15-2008, 08:39 PM
Hi,
We have written a scripted material in max that we use to display Direct X shaders and to export to our game engine. It works great; however, when you open a max file that contains one of these shaders and are missing one or more of it's bitmaps, max opens an error dialog for every instance of the bitmap it finds. The error reads:
>> MAXScript Scripted Plugin Handler Exception: -- Runtime error: Error opening bitmap: bitmap path here.
We currently use try()catch() to keep the script running, but the error message annoyingly persists. Does anyone know if there is a solution to supressing the error?
Thanks,
Jon
We have written a scripted material in max that we use to display Direct X shaders and to export to our game engine. It works great; however, when you open a max file that contains one of these shaders and are missing one or more of it's bitmaps, max opens an error dialog for every instance of the bitmap it finds. The error reads:
>> MAXScript Scripted Plugin Handler Exception: -- Runtime error: Error opening bitmap: bitmap path here.
We currently use try()catch() to keep the script running, but the error message annoyingly persists. Does anyone know if there is a solution to supressing the error?
Thanks,
Jon
