OSDN Git Service

* Fix issue 569 by using googlecode server instead of jme website which blocks...
authorShAdOwIsLoRd <ShAdOwIsLoRd@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Fri, 19 Apr 2013 17:36:55 +0000 (17:36 +0000)
committerShAdOwIsLoRd <ShAdOwIsLoRd@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Fri, 19 Apr 2013 17:36:55 +0000 (17:36 +0000)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10567 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

engine/src/test/jme3test/asset/TestUrlLoading.java

index 5d3059b..29015a7 100644 (file)
@@ -60,9 +60,9 @@ public class TestUrlLoading extends SimpleApplication {
 
         Geometry quad = new Geometry("Textured Quad", quadMesh);
 
-        assetManager.registerLocator("http://www.jmonkeyengine.com/wp-content/uploads/2010/09/",
+        assetManager.registerLocator("https://jmonkeyengine.googlecode.com/svn/BookSamples/assets/Textures/",
                                 UrlLocator.class);
-        TextureKey key = new TextureKey("planet-2.jpg", false);
+        TextureKey key = new TextureKey("mucha-window.png", false);
         key.setGenerateMips(true);
         Texture tex = assetManager.loadTexture(key);