Page MenuHome

Fix T70376: Lattice point looses state on modeswitch when shape keys are present
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Mon, Sep 30, 4:36 PM.

Details

Summary

Selection state of lattice points as well as their weight where not kept when going in and out of editmode, code would just copy positions.
Now copy the whole BPoint instead.

Diff Detail

Repository
rB Blender

Event Timeline

While the patch is fine, it might be less error prone to copy the entire struct, otherwise some other member might get left out in the future.

*Edit* the weight isn't being copied back, which is editable in lattice edit mode.

Campbell Barton (campbellbarton) requested changes to this revision.Mon, Sep 30, 6:27 PM
This revision now requires changes to proceed.Mon, Sep 30, 6:27 PM

copy whole BPoint instead

Philipp Oeser (lichtwerk) retitled this revision from Fix T70376: Lattice point selection state not kept with shape keys to Fix T70376: Lattice point looses state on modeswitch when shape keys are present.Tue, Oct 1, 10:05 AM
Philipp Oeser (lichtwerk) edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Tue, Oct 1, 11:50 AM