Page MenuHome

Fix T98459: vertex weight paste/copy inconsistent
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on May 30 2022, 3:32 PM.

Details

Summary

In the editmode sidebar, pasting a particular vertex's weight in a
single group was not behaving the same as copying for all groups [in
that the former dis not copy to unassigned vertices whereas the later
did copy to unassigned vertices].

This behaves like this since the introduction in rB70fd2320c8d2: Added polished Vertex Weights Panel (properties sidebar), but
there does not seem to be a good reason for this?

Now make this consistent and use BKE_defvert_copy_index in both cases
(instead of earlying out if unassigned, this will make sure this will
also copy to unassigned).

Diff Detail

Repository
rB Blender
Branch
T98459 (branched from master)
Build Status
Buildable 22321
Build 22321: arc lint + arc unit

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.May 30 2022, 3:32 PM
Philipp Oeser (lichtwerk) created this revision.
This revision is now accepted and ready to land.Jun 2 2022, 5:10 PM