Skip to content

Commit e9b04fc

Browse files
committed
Failed Test Fix
Restored Elephant.Skeleton.xml file for the Core tests, needed a mes.xml file with an anim composer Modified screenshottests files to load the .j3o files rather than the previously changed ogre files
1 parent 880ee10 commit e9b04fc

4 files changed

Lines changed: 1425 additions & 3 deletions

File tree

jme3-screenshot-tests/src/test/java/org/jmonkeyengine/screenshottests/export/TestOgreConvert.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected void initialize(Application app){
7373
AssetManager assetManager = app.getAssetManager();
7474
Node rootNode = ((SimpleApplication)app).getRootNode();
7575
Camera cam = app.getCamera();
76-
Spatial ogreModel = assetManager.loadModel("Models/Oto/Oto.mesh.xml");
76+
Spatial ogreModel = assetManager.loadModel("Models/Oto/Oto.j3o");
7777

7878
DirectionalLight dl = new DirectionalLight();
7979
dl.setColor(ColorRGBA.White);

jme3-screenshot-tests/src/test/java/org/jmonkeyengine/screenshottests/post/TestCartoonEdge.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private void setupLighting(Node rootNode) {
106106
}
107107

108108
private void setupModel(SimpleApplication app, Node rootNode) {
109-
Spatial model = app.getAssetManager().loadModel("Models/MonkeyHead/MonkeyHead.mesh.xml");
109+
Spatial model = app.getAssetManager().loadModel("Models/MonkeyHead/MonkeyHead.j3o");
110110
makeToonish(app, model);
111111
model.rotate(0, FastMath.PI, 0);
112112
rootNode.attachChild(model);

jme3-screenshot-tests/src/test/java/org/jmonkeyengine/screenshottests/post/TestLightScattering.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ protected void initialize(Application app) {
7676
simpleApplication.getCamera().setRotation(new Quaternion(0.010414706f, 0.9874893f, 0.13880467f, -0.07409228f));
7777

7878
Material mat = simpleApplication.getAssetManager().loadMaterial("Textures/Terrain/Rocky/Rocky.j3m");
79-
Spatial scene = simpleApplication.getAssetManager().loadModel("Models/Terrain/Terrain.mesh.xml");
79+
Spatial scene = simpleApplication.getAssetManager().loadModel("Models/Terrain/Terrain.j3o");
8080
MikktspaceTangentGenerator.generate(((Geometry) ((Node) scene).getChild(0)).getMesh());
8181
scene.setMaterial(mat);
8282
scene.setShadowMode(ShadowMode.CastAndReceive);

0 commit comments

Comments
 (0)