Merge pull request #507 from jjYBdx4IL/master
fixes issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/506…
This commit is contained in:
commit
65164e2075
@ -992,8 +992,8 @@ public class Material implements CloneableSmartAsset, Cloneable, Savable {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Material[name=" + name +
|
||||
", def=" + def.getName() +
|
||||
", tech=" + technique.getDef().getName() +
|
||||
", def=" + (def != null ? def.getName() : null) +
|
||||
", tech=" + (technique != null && technique.getDef() != null ? technique.getDef().getName() : null) +
|
||||
"]";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user