roavatar-renderer 1.9.1 → 1.9.2

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 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -44615,6 +44615,7 @@ function ScaleAccessory(accessory, bodyScaleVector, headScaleVector, bodyTypeSca
44615
44615
  originalChildrenOfPart(handle, originalSize, handle.Prop("Size"));
44616
44616
  let hasAdjusted = void 0;
44617
44617
  let attachmentPair = void 0;
44618
+ const beforeAdjustmentResultScale = resultScale.clone();
44618
44619
  const accessoryDescs = humanoidDescription.GetChildren();
44619
44620
  for (const accessoryDesc of accessoryDescs) {
44620
44621
  if (accessoryDesc.className === "AccessoryDescription") {
@@ -44631,7 +44632,7 @@ function ScaleAccessory(accessory, bodyScaleVector, headScaleVector, bodyTypeSca
44631
44632
  }
44632
44633
  }
44633
44634
  }
44634
- scaleChildrenOfPart(handle, resultScale, hasAdjusted);
44635
+ scaleChildrenOfPart(handle, beforeAdjustmentResultScale, hasAdjusted);
44635
44636
  handle.setProperty("Size", originalSize.multiply(resultScale));
44636
44637
  if (accessory.className === "Accessory") {
44637
44638
  const accessoryWrapper = new AccessoryWrapper(accessory);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roavatar-renderer",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "A renderer for Roblox avatars, used by the RoAvatar extension.",
5
5
  "author": "steinan",
6
6
  "type": "module",