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

material: fix sort id unit test failure

Kirill Vainer 9 жил өмнө
parent
commit
5be03af564

+ 4 - 4
jme3-core/src/main/java/com/jme3/material/Technique.java

@@ -184,9 +184,9 @@ public final class Technique {
      * @return the sort ID for this technique instance.
      */
     public int getSortId() {
-       int hash = 17;
-       hash = hash * 23 + def.getSortId();
-       hash = hash * 23 + dynamicDefines.hashCode();
-       return hash;
+        int hash = 17;
+        hash = hash * 23 + def.getSortId();
+        hash = hash * 23 + paramDefines.hashCode();
+        return hash;
     }
 }