Welcome, Guest. Please Login or Register
Home Help Search Login Register
Page Index Toggle Pages: 1
Send Topic Print
MAX loader 0.94b - small fix for mental ray (Read 2161 times)
Jon Seagull
Ex Member


MAX loader 0.94b - small fix for mental ray
05/16/08 at 04:29:55
 
Running the loader script from a fresh install of 3ds max design 2009 gives me the "MR Support is only available for max2008 or newer\n and only with mr Photographic Exposure Controll" erroneously.

Modifying the try/catch at lines 1080-1088 as follows by adding a line that sets the exposure control type fixes it:

Code:
try
					(
					sceneExposureControl.exposurecontrol = mr_photographic_exposure_control()
					SceneExposureControl.exposureControl.preset = 4
					)
					catch
					(
					messageBox "MR Support is only available for max2008 or newer\n and only with mr Photographic Exposure Control"
					) 



(also fixed the typo in the error message)...
Back to top
« Last Edit: 06/10/08 at 06:03:31 by Blochi »  
 
IP Logged
 
Dschaga
Ex Member


Re: MAX loader 0.94b - small fix for mental ray
Reply #1 - 05/16/08 at 11:48:49
 
Hi Jon,

Nice to have you onboard!

Thanks for your bugfix and if you want then upload the bugfixed version by yourself Smiley
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print