[committed] Texture.equals() bug fix

When texture is not loaded and texture location is not the same, Texture.equals() may return true.



Index: src/com/jme/image/Texture.java
===================================================================
--- src/com/jme/image/Texture.java   (revision 4471)
+++ src/com/jme/image/Texture.java   (working copy)
@@ -1177,6 +1177,8 @@
         if (this.textureId != that.textureId)
             return false;
         if (this.textureId == 0) {
+            if (this.key != null && !this.key.equals(that.key))
+                return false;
             if (this.getImage() != null
                     && !this.getImage().equals(that.getImage()))
                 return false;