* Fix issue 569 by using googlecode server instead of jme website which blocks java connections for some reason

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10567 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
ShA..Rd 12 years ago
parent a31c8ec884
commit d64eec7d1b
  1. 4
      engine/src/test/jme3test/asset/TestUrlLoading.java

@ -60,9 +60,9 @@ public class TestUrlLoading extends SimpleApplication {
Geometry quad = new Geometry("Textured Quad", quadMesh); 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); UrlLocator.class);
TextureKey key = new TextureKey("planet-2.jpg", false); TextureKey key = new TextureKey("mucha-window.png", false);
key.setGenerateMips(true); key.setGenerateMips(true);
Texture tex = assetManager.loadTexture(key); Texture tex = assetManager.loadTexture(key);

Loading…
Cancel
Save