Ver Fonte

change scrnshots to .bmp fmt

cxgeorge há 24 anos atrás
pai
commit
3e3af7b59b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      direct/src/showbase/ShowBase.py

+ 1 - 1
direct/src/showbase/ShowBase.py

@@ -619,7 +619,7 @@ class ShowBase:
         # Replace spaces with dashes because unix does not like spaces in the filename
         # Replace spaces with dashes because unix does not like spaces in the filename
         date = date.replace(' ', '-')
         date = date.replace(' ', '-')
         date = date.replace(':', '-')
         date = date.replace(':', '-')
-        imageName = (namePrefix + '-' + date + '-' + str(frameCount) + '.pnm')
+        imageName = (namePrefix + '-' + date + '-' + str(frameCount) + '.bmp')
         self.notify.info("Taking screenshot: " + imageName)
         self.notify.info("Taking screenshot: " + imageName)
         takeSnapshot(self.win, imageName)
         takeSnapshot(self.win, imageName)