We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10baaa2 commit 0319161Copy full SHA for 0319161
1 file changed
jme3-core/src/main/java/com/jme3/texture/TextureArray.java
@@ -175,6 +175,9 @@ public void read(JmeImporter importer) throws IOException {
175
176
@Override
177
public boolean equals(Object other) {
178
+ if (this == obj) {
179
+ return true;
180
+ }
181
if (!(other instanceof TextureArray)) {
182
return false;
183
}
@@ -193,4 +196,4 @@ public int hashCode() {
193
196
hash = 79 * hash + (this.wrapT != null ? this.wrapT.hashCode() : 0);
194
197
return hash;
195
198
-}
199
+}
0 commit comments