File “c:\Panda3d-1.9.0-x64\direct\filter\CommonFilters.py”, line 170, in reconfigure
needtex[configuration[“VolumetricLighting”].source = True
TypeError: ‘set’ object does not support item assignment
I have the code from an example in an earlier version of Panda. Is it something related to a different specification in 1.9.0 ?
Hmm, doesn’t look like ‘needtex’ even needs to be in that line and it’s an error to use dictionary access on a set object so this is definitely a bug. I’ve checked gitHub and the line is still the same so it looks like you’re the first to notice this. Anyways, try change the line:
# from
needtex[configuration["VolumetricLighting"].source] = True
# to
configuration["VolumetricLighting"].source = True
See if that works, though this is just a guess. And it seems odd that volumetric lighting would work simply by commenting out those lines, are you sure it’s working? I’ve never used this module so I can’t really say what should happen.