Merge branch 'master' of github:jMonkeyEngine/jmonkeyengine

experimental
shadowislord 11 years ago
commit 648477e8c2
  1. 6
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/utils/MaterialUtils.java

@ -54,8 +54,12 @@ public class MaterialUtils {
* @return
*/
public static String trimName(String line) {
int idx = line.indexOf("-");
if(idx!=-1){
line= line.substring(0, idx);
}
line = trimLine(line);
int idx = line.indexOf("(");
idx = line.indexOf("(");
if (idx == -1) {
idx = line.indexOf(":");
}

Loading…
Cancel
Save