- change MatDef parsing so that new ffunc bindings are removed from parameter name

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8026 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent f6f378ec55
commit faff3bf779
  1. 5
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/EditableMaterialFile.java

@ -427,7 +427,10 @@ public class EditableMaterialFile {
*/
private String trimName(String line) {
line = trimLine(line);
int idx = line.indexOf(":");
int idx = line.indexOf("(");
if(idx == -1){
idx = line.indexOf(":");
}
if (idx != -1) {
line = line.substring(0, idx);
}

Loading…
Cancel
Save