Ticket #3361: Elements-0.13-py2.5.egg.patch
File Elements-0.13-py2.5.egg.patch, 472 bytes (added by humitos, 12 years ago) |
---|
-
elements/add_objects.py
old new 512 512 mj.body2 = body 513 513 mj.target = (x, y) 514 514 mj.maxForce = jointForce * body.GetMass() 515 self.parent.mouseJoint = self.parent.world.CreateJoint(mj) .getAsType()515 self.parent.mouseJoint = self.parent.world.CreateJoint(mj) 516 516 body.WakeUp() 517 517 518 518 def remove_mouseJoint(self):