From e3ed779fc91509b233e0808373d199e36d8fbaa7 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Mon, 2 Apr 2012 20:03:54 +0000 Subject: [PATCH] Committed iwgeric patch for native bullet PhysicCollisionEvent http://jmonkeyengine.org/groups/android/forum/topic/null-objects-in-collision-callbacks-on-android-resolved/#post-169899 git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9274 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/bullet/collision/PhysicsCollisionEvent.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/src/bullet/com/jme3/bullet/collision/PhysicsCollisionEvent.java b/engine/src/bullet/com/jme3/bullet/collision/PhysicsCollisionEvent.java index 32c506ce8..1f703774b 100644 --- a/engine/src/bullet/com/jme3/bullet/collision/PhysicsCollisionEvent.java +++ b/engine/src/bullet/com/jme3/bullet/collision/PhysicsCollisionEvent.java @@ -53,6 +53,9 @@ public class PhysicsCollisionEvent extends EventObject { public PhysicsCollisionEvent(int type, PhysicsCollisionObject nodeA, PhysicsCollisionObject nodeB, long manifoldPointObjectId) { super(nodeA); + this.type = type; + this.nodeA = nodeA; + this.nodeB = nodeB; this.manifoldPointObjectId = manifoldPointObjectId; }