Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools.py
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2009-08-19 10:55:09 (GMT)
committer Gary Martin <gary@garycmartin.com>2009-08-19 10:55:09 (GMT)
commita60af3d4e50ab63313bbecfb25f52f66e0ba31c9 (patch)
treed792273e8f6686d173707a6926de50570f7cbaf1 /tools.py
parenteb5dafc09d70283fb52729bc919bcb55e10aeb09 (diff)
Disable joints from connecting with background canvas (too many accidents).
Diffstat (limited to 'tools.py')
-rw-r--r--tools.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools.py b/tools.py
index 65eb9ff..a8b2082 100644
--- a/tools.py
+++ b/tools.py
@@ -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):