diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index 696284e853..d9a30c59b8 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -619,7 +619,7 @@ class ShowBase: # Replace spaces with dashes because unix does not like spaces in the filename date = date.replace(' ', '-') date = date.replace(':', '-') - imageName = (namePrefix + '-' + date + '-' + str(frameCount) + '.pnm') + imageName = (namePrefix + '-' + date + '-' + str(frameCount) + '.bmp') self.notify.info("Taking screenshot: " + imageName) takeSnapshot(self.win, imageName)