run buffer?

If i modify a model through a modeling program and keep the same name, when I run the Panda3d code the model doesn’t change. Looks like the code
doesn’t flush when rerun. Anything I can do to make sure all the models are reloaded from disk?

Do you mean, within a given Python session? Of course, if you exit Python and restart, it will force a reload of everything from disk.

But, within a session, you can force a particular model to be reloaded from disk with:

model = loader.loadModel(filename)

You can also completely flush the model cache with:


And, for the record, the texture cache with:



Thank you so much!