I was digging through dtool/Config.pp, and I came across this line:
#define SUPPORT_IMMEDIATE_MODE $[<= $[OPTIMIZE], 3]
Now every other line that uses OPTIMIZE that I’ve seen uses #defer. Seems like this line wouldn’t fire correctly unless OPTIMIZE were changed directly in dtool/Config.pp, instead of defining it in your own Config.pp?
Minor issue, I realize, only relevant to Panda3d developers, and possibly intentional, but I thought I’d mention it. If there’s another place to submit patches or potential bug fixes, I didn’t find it on a quick search of panda3d.org.