2
0
Эх сурвалжийг харах

Change access of getData() to package-private for access in JaiDebug.
Move private field to fix compile error.

Marc Kurtz 6 жил өмнө
parent
commit
e06b1d0de2

+ 1 - 1
port/jassimp/jassimp/src/jassimp/AiMaterial.java

@@ -457,7 +457,7 @@ public final class AiMaterial {
          * 
          * @return the data
          */
-        private Object getData() {
+        Object getData() {
             return m_data;
         }
     }

+ 6 - 7
port/jassimp/jassimp/src/jassimp/AiSceneFlag.java

@@ -47,11 +47,6 @@ import java.util.Set;
  * Status flags for {@link AiScene}s.
  */
 public enum AiSceneFlag {
-    /**
-     * The mapped c/c++ integer enum value.
-     */
-    private final int m_rawValue;
-
     /**
      * Specifies that the scene data structure that was imported is not 
      * complete.<p>
@@ -119,8 +114,12 @@ public enum AiSceneFlag {
      * you actually need to render it).
      */
     TERRAIN(0x10);
-    
-    
+
+    /**
+     * The mapped c/c++ integer enum value.
+     */
+    private final int m_rawValue;
+
     /**
      * Utility method for converting from c/c++ based integer enums to java 
      * enums.<p>