roavatar-renderer 1.5.6 → 1.5.7

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -43296,7 +43296,7 @@ class MeshDesc {
43296
43296
  const layeredClothingCacheId = `${this.mesh}-${this.layerDesc.reference}`;
43297
43297
  switch (FLAGS.LAYERED_CLOTHING_ALGORITHM) {
43298
43298
  case "rbf": {
43299
- const shouldAutoSkin = this.layerDesc.autoSkin === WrapLayerAutoSkin.EnabledOverride || this.layerDesc.autoSkin === WrapLayerAutoSkin.EnabledPreserve && mesh.skinning.skinnings.length < 1;
43299
+ const shouldAutoSkin = this.layerDesc.autoSkin === WrapLayerAutoSkin.EnabledOverride || this.layerDesc.autoSkin === WrapLayerAutoSkin.EnabledPreserve && mesh.skinning.skinnings.length < 1 || mesh.skinning.skinnings.length <= 0;
43300
43300
  if (FLAGS.AUTO_SKIN_EVERYTHING || shouldAutoSkin) {
43301
43301
  this.wasAutoSkinned = true;
43302
43302
  const transferTo = ref_mesh.clone();
@@ -48195,7 +48195,7 @@ class HumanoidDescriptionWrapper extends InstanceWrapper {
48195
48195
  const headShape = this.getBodyPartHeadShape(BodyPart.Head);
48196
48196
  let contentRepresentationPriorityList = void 0;
48197
48197
  if (bodyPart === BodyPart.Head && headShape.length > 0) {
48198
- contentRepresentationPriorityList = [{ "format": headShape, "majorVersion": "1" }];
48198
+ contentRepresentationPriorityList = [{ "format": avatarType === AvatarType.R15 ? headShape : `${headShape}_SpecialMesh`, "majorVersion": "1" }];
48199
48199
  if (avatarType === AvatarType.R15) {
48200
48200
  contentRepresentationPriorityList.push({ "format": "avatar_meshpart_head", "majorVersion": "1" });
48201
48201
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roavatar-renderer",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "A renderer for Roblox avatars, used by the RoAvatar extension.",
5
5
  "author": "steinan",
6
6
  "type": "module",