Blender Git Loki

Git Commits -> Revision 245d36b

Revision 245d36b by Dalai Felinto (master)
May 28, 2011, 08:16 (GMT)
bugfix for: [#26753] PhysicsConstraints ID trouble on 64bit (linux at least).
[the problem also affected OSX]

PhysicsId are Long, not ints (see PyObject* KX_GameObject::PyGetPhysicsId() )

There is a reference in the code to use PyCapsule instead of int. I'm not sure
about that. This patch at least stops the crashes
(update: I talked with Campbell and he repeated that PyCapsule are better, but if long is working it's fine for now).

Commit Details:

Full Hash: 245d36b70693f84ee2a057f950db9c4a2e6c1145
SVN Revision: 36970
Parent Commit: ecf2d1f
Lines Changed: +36, -7

1 Modified Path:

/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp (+36, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021