Texture cleanup in Skybox

For a convenient way to clean up the textures in a skybox I added a short method:



Index: src/com/jme/scene/Skybox.java
===================================================================
--- src/com/jme/scene/Skybox.java   (revision 4548)
+++ src/com/jme/scene/Skybox.java   (working copy)
@@ -266,6 +266,14 @@
 
     }
    
+    public void deleteTextures() {
+       for(int direction = 0; direction < skyboxQuads.length; direction++) {
+          TextureState ts = (TextureState)skyboxQuads[direction].getRenderState(RenderState.StateType.Texture);
+          ts.deleteAll(true);
+       }
+    }
+
+   
     public void write(JMEExporter e) throws IOException {
         super.write(e);
         OutputCapsule capsule = e.getCapsule(this);