Fix the issue mentioned in PR #186

experimental
shadowislord 10 years ago
parent c8a2a7260e
commit c3542649b5
  1. 3
      jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java

@ -450,6 +450,9 @@ public class MaterialLoader implements AssetLoader {
}
String[] split = statement.getLine().split(" ", 2);
matName = split[1].trim();
if (matName.startsWith("\"") && matName.endsWith("\"")) {
matName = matName.substring(1, matName.length() - 1);
}
readMaterial(statement);
Material mat = compileMaterial();
list.put(matName, mat);

Loading…
Cancel
Save