* Fix version check in SceneLoader

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8833 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Sha..om 13 years ago
parent f23f2b5c8c
commit 875ed1c7cc
  1. 2
      engine/src/ogre/com/jme3/scene/plugins/ogre/SceneLoader.java

@ -240,7 +240,7 @@ public class SceneLoader extends DefaultHandler implements AssetLoader {
}
String version = attribs.getValue("formatVersion");
if (version == null && !version.equals("1.0.0") && !version.equals("1.0.1"))
if (version == null || (!version.equals("1.0.0") && !version.equals("1.0.1")))
logger.log(Level.WARNING, "Unrecognized version number"
+ " in dotScene file: {0}", version);

Loading…
Cancel
Save