PTAs

Hello,

I noticed that, in Python, setShaderInput([1,2,3]) works fine on Ubuntu (compiled with ppremake) and it doesn’t on Windows (makepanda). Instead setShaderInput(PTAFloat[1,2,3]) works fine on both. Any idea why? Python lists should be coerced into PTA right?

Are you using the same version of Panda in both cases? I added the automatic coercion of lists into PTA’s only fairly recently.

David

Yes, I am using the latest from the CVS in both cases.