Blender Git Commit Log

Git Commits -> Revision 3681a61

Revision 3681a61 by Sybren A. Stüvel (master)
March 29, 2021, 09:00 (GMT)
Fix T78650: Lattice evaluation writes to shared data

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()`.

Reviewed By: sergey

Maniphest Tasks: T78650

Differential Revision: https://developer.blender.org/D10790

Commit Details:

Full Hash: 3681a619ded1a6b225befc31ef87259081fb61e5
Parent Commit: 8034b27
Lines Changed: +60, -45

5 Modified Paths:

/source/blender/blenkernel/BKE_object.h (+6, -0) (Diff)
/source/blender/blenkernel/intern/lattice.c (+20, -41) (Diff)
/source/blender/blenkernel/intern/lattice_deform.c (+2, -4) (Diff)
/source/blender/blenkernel/intern/lattice_deform_test.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+31, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021