PDA

View Full Version : Maxscript Bug? light.castShadows property?


scorpion007
06-11-2007, 09:46 AM
Hi,

For some reason, if I make any light, and in the listener run:

$.castShadows

to check the value of the checkbox, it doesnt seem to get updated as I toggle the checkbox in the modifer panel.

I check the box, run the command, it might return 'true', I uncheck it, still returns 'true', when it's clearly off!

Using max 9. Any ideas?

Note, other properties such as $.enabled work correctly.

scorpion007
06-11-2007, 10:06 AM
Ah, false alarm, sorry.
As the docs say, I have to use <light>.baseObject.castShadows.

CGTalk Moderation
06-11-2007, 10:06 AM
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.