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.
- package/babylon.glTF2Serializer.js +3 -0
- package/babylon.glTF2Serializer.js.map +1 -1
- package/babylon.glTF2Serializer.min.js +1 -1
- package/babylon.glTF2Serializer.min.js.map +1 -1
- package/babylonjs.serializers.js +3 -0
- package/babylonjs.serializers.js.map +1 -1
- package/babylonjs.serializers.min.js +1 -1
- package/babylonjs.serializers.min.js.map +1 -1
- package/package.json +3 -3
|
@@ -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 = [];
|