Packp3d and shadows

Hello, I have some problems with packp3d (daily build, on Ubuntu). When I launch the Shadows example from commandline (python it works perfectly. Instead, if I pack it (panda3d packp3d_dev.p3d -o shadows.p3d -m ) and launch it, I can see all the stuff but shadows and I receive several errors like:

:pgraph: Generating shader for render state 0x7f1b9839c4f8
:gobj(error): created-shader: uniform in unknown k_slighttex0: invalid type for non-prefix parameter
:gobj(error): Shader encountered an error.

How can I obtain working shadows in p3d files with daily build (the problem doesn’t appear with 1.7.0)? Very thanks!

Looks like this was caused by a check-in from CMU students. I’ll investigate.

Keep in mind that you should only use packp3d_dev for testing (or if you plan to create a self-contained installer from the .p3d). It will update the installation of the daily version of Panda3D in ~/.panda3d every day.

Checked in a fix.