Page MenuHome

Fix T78650: Lattice evaluation writes to shared data
ClosedPublic

Authored by Sybren A. Stüvel (sybren) on Mar 22 2021, 6:48 PM.

Details

Summary

Fix the data management bug where evaluation of lattice objects would
write back to the CoW copy of the Lattice ID, even when that copy was
shared between objects.

Each lattice object evaluation now stores its own evaluated data copy
via BKE_object_eval_assign_data().

Diff Detail

Repository
rB Blender

Event Timeline

Sybren A. Stüvel (sybren) requested review of this revision.Mar 22 2021, 6:48 PM
Sybren A. Stüvel (sybren) created this revision.

Tried opening a production file with the patch applied, and it just works! Thank you to the code doctor!

This revision is now accepted and ready to land.Mar 26 2021, 5:57 PM