rigidbody: Fix [#34106] Deleting an object with Bullet Constraint crashes Blender
authorSergej Reich <sergej.reich@googlemail.com>
Mon, 4 Feb 2013 23:50:31 +0000 (23:50 +0000)
committerSergej Reich <sergej.reich@googlemail.com>
Mon, 4 Feb 2013 23:50:31 +0000 (23:50 +0000)
commitae27a548f87e938facffc02f015e4a11d45f24cd
tree969ea5d138fb2b5635e66e6f1c7997602012befc
parent55ff9ecdd95ab16b9fc636162e14de8949041e27
rigidbody: Fix [#34106] Deleting an object with Bullet Constraint crashes Blender

Constraints are deleted before rigid bodies so need to check if constraint
exists in case both the constraint and ridid body are on the same object.
source/blender/blenkernel/intern/rigidbody.c