From 6f3e5931052727358201e6648bd6011d99085414 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Sun, 15 Jan 2006 11:34:55 +0000 Subject: more graphics patches from Snailrose, remove constraint fixed, Bullet timestep now subdivides Blender game engine timestep, so it runs 60 hertz, SphereShape reverted to old style, so no support for non-uniform scaled spheres for now, --- source/gameengine/Ketsji/KX_PyConstraintBinding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/Ketsji/KX_PyConstraintBinding.cpp') diff --git a/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp b/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp index 2317f9c3a9c..0e7ebc6442e 100644 --- a/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp +++ b/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp @@ -362,7 +362,7 @@ static PyObject* gPyRemoveConstraint(PyObject* self, { if (PHY_GetActiveEnvironment()) { - PHY_GetActiveEnvironment()->removeConstraint((void *)constraintid); + PHY_GetActiveEnvironment()->removeConstraint(constraintid); } } Py_INCREF(Py_None); return Py_None; -- cgit v1.2.3