diff options
author | Gary Martin <gary@garycmartin.com> | 2009-08-19 10:55:09 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2009-08-19 10:55:09 (GMT) |
commit | a60af3d4e50ab63313bbecfb25f52f66e0ba31c9 (patch) | |
tree | d792273e8f6686d173707a6926de50570f7cbaf1 /tools.py | |
parent | eb5dafc09d70283fb52729bc919bcb55e10aeb09 (diff) |
Disable joints from connecting with background canvas (too many accidents).
Diffstat (limited to 'tools.py')
-rw-r--r-- | tools.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -321,9 +321,9 @@ class JointTool(Tool): if self.jb1 and self.jb2 and str(self.jb1) != str(self.jb2): self.game.world.add.joint(self.jb1[0],self.jb2[0],self.jb1pos,self.jb2pos) #add joint to ground body - elif self.jb1: - groundBody = self.game.world.world.GetGroundBody() - self.game.world.add.joint(self.jb1[0],groundBody,self.jb1pos,self.jb2pos) + #elif self.jb1: + # groundBody = self.game.world.world.GetGroundBody() + # self.game.world.add.joint(self.jb1[0],groundBody,self.jb1pos,self.jb2pos) # regardless, clean everything up self.jb1 = self.jb2 = self.jb1pos = self.jb2pos = None def draw(self): |