浏览代码

Remove static from method
Having the method static was causing javah to change the signature of the native method which caused compiling errors

iwgeric 9 年之前
父节点
当前提交
3ae3b0064e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

+ 1 - 1
jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

@@ -995,7 +995,7 @@ public class PhysicsSpace {
         return solverNumIterations;
     }
     
-    private static native void setSolverNumIterations(long physicsSpaceId, int numIterations);
+    private native void setSolverNumIterations(long physicsSpaceId, int numIterations);
     
     public static native void initNativePhysics();