saveScreenshot in Panda3D (1.8) is saving old renditions

Hello,

I start using the saveScreenshot function to save what I have in my window:

saved = base.win.saveScreenshot(Filename(filename))

I noticed what is being saved is not the current rendition but a previous/old one.

Any ideas?

Thank you

You could try calling base.graphicsEngine.renderFrame() before calling that.

1 Like

Yes, that works

Thank you!