Normand Briere
2019-05-05 623dc0fa8cbd9473830a1786f6d49fa808a09439
GenericJoint.java
....@@ -381,7 +381,7 @@
381381 try
382382 {
383383 //font = FontRender.createFont("Dialog", 11, false, true);
384
- font = new FontRender.GLFont(gl, GrafreeD.class.getResourceAsStream("DejaVu_Sans_11.fnt"));
384
+ font = new FontRender.GLFont(gl, Grafreed.class.getResourceAsStream("DejaVu_Sans_11.fnt"));
385385 } catch (java.io.IOException e)
386386 {
387387 e.printStackTrace();
....@@ -873,6 +873,7 @@
873873
874874 if (shape.getShapeType() == BroadphaseNativeType.COMPOUND_SHAPE_PROXYTYPE)
875875 {
876
+ new Exception().printStackTrace();
876877 System.exit(0);
877878 CompoundShape compoundShape = (CompoundShape) shape;
878879 Transform childTrans = transformsPool.get();
....@@ -903,6 +904,7 @@
903904 {
904905 case BOX_SHAPE_PROXYTYPE:
905906 {
907
+ new Exception().printStackTrace();
906908 System.exit(0);
907909 BoxShape boxShape = (BoxShape) shape;
908910 Vector3f halfExtent = boxShape.getHalfExtentsWithMargin(vectorsPool.get());
....@@ -914,6 +916,7 @@
914916 }
915917 case SPHERE_SHAPE_PROXYTYPE:
916918 {
919
+ new Exception().printStackTrace();
917920 System.exit(0);
918921 SphereShape sphereShape = (SphereShape) shape;
919922 float radius = sphereShape.getMargin(); // radius doesn't include the margin, so draw with margin
....@@ -960,6 +963,7 @@
960963
961964 case STATIC_PLANE_PROXYTYPE:
962965 {
966
+ new Exception().printStackTrace();
963967 System.exit(0);
964968 StaticPlaneShape staticPlaneShape = (StaticPlaneShape) shape;
965969 float planeConst = staticPlaneShape.getPlaneConstant();
....@@ -1006,6 +1010,7 @@
10061010
10071011 case CYLINDER_SHAPE_PROXYTYPE:
10081012 {
1013
+ new Exception().printStackTrace();
10091014 System.exit(0);
10101015 CylinderShape cylinder = (CylinderShape) shape;
10111016 int upAxis = cylinder.getUpAxis();
....@@ -1358,6 +1363,7 @@
13581363 // for polyhedral shapes
13591364 if (shape.isPolyhedral())
13601365 {
1366
+ new Exception().printStackTrace();
13611367 System.exit(0);
13621368 PolyhedralConvexShape polyshape = (PolyhedralConvexShape) shape;
13631369
....@@ -1427,6 +1433,7 @@
14271433 if (shape.isConcave())//>getShapeType() == TRIANGLE_MESH_SHAPE_PROXYTYPE||shape->getShapeType() == GIMPACT_SHAPE_PROXYTYPE)
14281434 // if (shape->getShapeType() == TRIANGLE_MESH_SHAPE_PROXYTYPE)
14291435 {
1436
+ new Exception().printStackTrace();
14301437 System.exit(0);
14311438 ConcaveShape concaveMesh = (ConcaveShape) shape;
14321439 //btVector3 aabbMax(btScalar(1e30),btScalar(1e30),btScalar(1e30));