ya2
·
news
·
projects
·
code
·
about
Ya2
/
projects
/
pmachines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c991401
)
fix: screenshots
author
Flavio Calva
<f.calva@gmail.com>
Fri, 9 Sep 2022 17:32:12 +0000
(18:32 +0100)
committer
Flavio Calva
<f.calva@gmail.com>
Fri, 9 Sep 2022 17:32:12 +0000
(18:32 +0100)
pmachines/app.py
patch
|
blob
|
blame
|
history
diff --git
a/pmachines/app.py
b/pmachines/app.py
index ebeaf8a4d0a6c75b63926bfa976cb02654a1dc00..118e74d8695989fdd3b0ddf1b3d7bb355d6ac7f4 100755
(executable)
--- a/
pmachines/app.py
+++ b/
pmachines/app.py
@@
-109,7
+109,7
@@
class Pmachines:
def start(self):
if self._args.screenshot:
cls = [cls for cls in self.scenes if cls.__name__ == self._args.screenshot][0]
- scene = cls(BulletWorld(), None, True, False, lambda: None, self.scenes)
+ scene = cls(BulletWorld(), None, True, False, lambda: None, self.scenes
, self._pos_mgr, None, None
)
scene.screenshot()
scene.destroy()
exit()