From 44b1501b5c4cd60ea67cc3d0971ed53f53b594e6 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Sun, 05 May 2019 10:19:33 -0400 Subject: [PATCH] Support for right click. --- GenericJoint.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/GenericJoint.java b/GenericJoint.java index ab83012..da925d6 100644 --- a/GenericJoint.java +++ b/GenericJoint.java @@ -873,6 +873,7 @@ if (shape.getShapeType() == BroadphaseNativeType.COMPOUND_SHAPE_PROXYTYPE) { + new Exception().printStackTrace(); System.exit(0); CompoundShape compoundShape = (CompoundShape) shape; Transform childTrans = transformsPool.get(); @@ -903,6 +904,7 @@ { case BOX_SHAPE_PROXYTYPE: { + new Exception().printStackTrace(); System.exit(0); BoxShape boxShape = (BoxShape) shape; Vector3f halfExtent = boxShape.getHalfExtentsWithMargin(vectorsPool.get()); @@ -914,6 +916,7 @@ } case SPHERE_SHAPE_PROXYTYPE: { + new Exception().printStackTrace(); System.exit(0); SphereShape sphereShape = (SphereShape) shape; float radius = sphereShape.getMargin(); // radius doesn't include the margin, so draw with margin @@ -960,6 +963,7 @@ case STATIC_PLANE_PROXYTYPE: { + new Exception().printStackTrace(); System.exit(0); StaticPlaneShape staticPlaneShape = (StaticPlaneShape) shape; float planeConst = staticPlaneShape.getPlaneConstant(); @@ -1006,6 +1010,7 @@ case CYLINDER_SHAPE_PROXYTYPE: { + new Exception().printStackTrace(); System.exit(0); CylinderShape cylinder = (CylinderShape) shape; int upAxis = cylinder.getUpAxis(); @@ -1358,6 +1363,7 @@ // for polyhedral shapes if (shape.isPolyhedral()) { + new Exception().printStackTrace(); System.exit(0); PolyhedralConvexShape polyshape = (PolyhedralConvexShape) shape; @@ -1427,6 +1433,7 @@ if (shape.isConcave())//>getShapeType() == TRIANGLE_MESH_SHAPE_PROXYTYPE||shape->getShapeType() == GIMPACT_SHAPE_PROXYTYPE) // if (shape->getShapeType() == TRIANGLE_MESH_SHAPE_PROXYTYPE) { + new Exception().printStackTrace(); System.exit(0); ConcaveShape concaveMesh = (ConcaveShape) shape; //btVector3 aabbMax(btScalar(1e30),btScalar(1e30),btScalar(1e30)); -- Gitblit v1.6.2