SDK:
- 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
This commit is contained in:
parent
f6f378ec55
commit
faff3bf779
@ -427,7 +427,10 @@ public class EditableMaterialFile {
|
|||||||
*/
|
*/
|
||||||
private String trimName(String line) {
|
private String trimName(String line) {
|
||||||
line = trimLine(line);
|
line = trimLine(line);
|
||||||
int idx = line.indexOf(":");
|
int idx = line.indexOf("(");
|
||||||
|
if(idx == -1){
|
||||||
|
idx = line.indexOf(":");
|
||||||
|
}
|
||||||
if (idx != -1) {
|
if (idx != -1) {
|
||||||
line = line.substring(0, idx);
|
line = line.substring(0, idx);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user