babylonjs-serializers 5.4.0 → 5.5.6

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.
@@ -4305,6 +4305,9 @@ var _Exporter = /** @class */ (function () {
4305
4305
  var skinMap = {};
4306
4306
  for (var _i = 0, _b = babylonScene.skeletons; _i < _b.length; _i++) {
4307
4307
  var skeleton = _b[_i];
4308
+ if (skeleton.bones.length <= 0) {
4309
+ continue;
4310
+ }
4308
4311
  // create skin
4309
4312
  var skin = { joints: [] };
4310
4313
  var inverseBindMatrices = [];