* 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
This commit is contained in:
parent
a31c8ec884
commit
d64eec7d1b
@ -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…
x
Reference in New Issue
Block a user