babylonjs-serializers 5.54.0 → 5.56.0

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.
@@ -3705,6 +3705,12 @@ var _Exporter = /** @class */ (function () {
3705
3705
  if (babylonMesh instanceof core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__.LinesMesh) {
3706
3706
  return core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__.Material.LineListDrawMode;
3707
3707
  }
3708
+ if (babylonMesh instanceof core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__.InstancedMesh || babylonMesh instanceof core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__.Mesh) {
3709
+ var baseMesh = babylonMesh instanceof core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__.Mesh ? babylonMesh : babylonMesh.sourceMesh;
3710
+ if (typeof baseMesh.overrideRenderingFillMode === "number") {
3711
+ return baseMesh.overrideRenderingFillMode;
3712
+ }
3713
+ }
3708
3714
  return babylonMesh.material ? babylonMesh.material.fillMode : core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__.Material.TriangleFillMode;
3709
3715
  };
3710
3716
  /**
@@ -5561,7 +5567,7 @@ var _GLTFMaterialExporter = /** @class */ (function () {
5561
5567
  mimeType = textureMimeType;
5562
5568
  break;
5563
5569
  default:
5564
- core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__.Tools.Warn("Unsupported media type: ${textureMimeType}");
5570
+ core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__.Tools.Warn("Unsupported media type: ".concat(textureMimeType));
5565
5571
  break;
5566
5572
  }
5567
5573
  }