From 2a65c3bfb51b56774a3d8171a30e547ee9d0e362 Mon Sep 17 00:00:00 2001 From: stephengold Date: Tue, 26 Nov 2024 10:38:43 -0800 Subject: [PATCH] bugfix: NPE during the ConvexVsMesh test --- .../testjoltjni/app/performancetest/ConvexVsMeshScene.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/testjoltjni/app/performancetest/ConvexVsMeshScene.java b/src/test/java/testjoltjni/app/performancetest/ConvexVsMeshScene.java index 3577709d..7ea6d62e 100644 --- a/src/test/java/testjoltjni/app/performancetest/ConvexVsMeshScene.java +++ b/src/test/java/testjoltjni/app/performancetest/ConvexVsMeshScene.java @@ -130,7 +130,8 @@ public void StartTest(PhysicsSystem inPhysicsSystem, EMotionQuality inMotionQu } } - static BodyCreationSettings mMeshSettings; +private + static BodyCreationSettings mMeshSettings=new BodyCreationSettings(); static ShapeRefC[] mShapes; public void StopTest(PhysicsSystem inPhysicsSystem){} } \ No newline at end of file