babylonjs-serializers 5.5.0 → 5.6.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.
@@ -4099,6 +4099,9 @@ var _Exporter = /** @class */ (function () {
4099
4099
  var skinMap = {};
4100
4100
  for (var _i = 0, _b = babylonScene.skeletons; _i < _b.length; _i++) {
4101
4101
  var skeleton = _b[_i];
4102
+ if (skeleton.bones.length <= 0) {
4103
+ continue;
4104
+ }
4102
4105
  // create skin
4103
4106
  var skin = { joints: [] };
4104
4107
  var inverseBindMatrices = [];