@babylonjs/core 7.11.1 → 7.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Meshes/mesh.js CHANGED
@@ -3348,6 +3348,10 @@ export class Mesh extends AbstractMesh {
3348
3348
  if (parsedMesh.ellipsoidOffset) {
3349
3349
  mesh.ellipsoidOffset = Vector3.FromArray(parsedMesh.ellipsoidOffset);
3350
3350
  }
3351
+ // For Backward compatibility ("!=" to exclude null and undefined)
3352
+ if (parsedMesh.overrideMaterialSideOrientation != null) {
3353
+ mesh.sideOrientation = parsedMesh.overrideMaterialSideOrientation;
3354
+ }
3351
3355
  if (parsedMesh.sideOrientation !== undefined) {
3352
3356
  mesh.sideOrientation = parsedMesh.sideOrientation;
3353
3357
  }