ousnius / BodySlide-and-Outfit-Studio

BodySlide and Outfit Studio, a tool to convert, create, and customize outfits and bodies for Bethesda games.
GNU General Public License v3.0
290 stars 64 forks source link

Copy Selected Bone Weights Copies Unselected Bones #369

Closed AdamVezina closed 2 years ago

AdamVezina commented 3 years ago

Issue: When shift-clicking multiple bones in the list and then choosing to copy selected bone weights from the Shape menu, other bones that were not selected in the list are copied as well.

Exact steps to reproduce:

  1. Load an armor that has weighting for the NPC Head [Head] bone.
  2. Select a single shape that has weighting for the NPC Head [Head] bone in the Meshes tab.
  3. Move to the Bones tab
  4. Shift-click to select all bones under the NPC Head [Head] bone.
  5. Go to Shape > Copy Selected Weights
  6. Click OK to accept the defaults
  7. Go back to your armor, you'll see the weighting for the NPC Head [Head] bone has changed on the selected shape, even though the bone wasn't selected.
ousnius commented 3 years ago

@AdamVezina This isn't caused by the program copying weights to bones that aren't selected - it's an intentional side effect caused by weight normalization. When any weight on a specific area is changing, the other weights (on other bones) need to adjust accordingly.

See https://github.com/ousnius/BodySlide-and-Outfit-Studio/wiki/Weight-Normalization

ousnius commented 2 years ago

@AdamVezina Closing this for now. If you have more details on what exactly is going wrong or is confusing, feel free to post.