|
@@ -571,7 +571,7 @@ module BABYLON {
|
|
|
serializationObject.diffuseTexture = this.diffuseTexture.serialize();
|
|
|
}
|
|
|
if (this.noiseTexture) {
|
|
|
- serializationObject.diffuseTexture = this.noiseTexture.serialize();
|
|
|
+ serializationObject.noiseTexture = this.noiseTexture.serialize();
|
|
|
}
|
|
|
|
|
|
return serializationObject;
|
|
@@ -596,11 +596,11 @@ module BABYLON {
|
|
|
material.wireframe = source.wireframe;
|
|
|
|
|
|
if (source.diffuseTexture) {
|
|
|
- material.diffuseTexture = Texture.ParseTexture(source.diffuseTexture, scene, rootUrl);
|
|
|
+ material.diffuseTexture = Texture.Parse(source.diffuseTexture, scene, rootUrl);
|
|
|
}
|
|
|
|
|
|
if (source.noiseTexture) {
|
|
|
- material.noiseTexture = Texture.ParseTexture(source.noiseTexture, scene, rootUrl);
|
|
|
+ material.noiseTexture = Texture.Parse(source.noiseTexture, scene, rootUrl);
|
|
|
}
|
|
|
|
|
|
if (source.checkReadyOnlyOnce) {
|