Blender Git Commit Log

Git Commits -> Revision 3212e72

Revision 3212e72 by Sergey Sharybin (master)
July 19, 2017, 13:20 (GMT)
Depsgraph: Fix crash opening file with IK solver with copy on write enabled

The issue was caused by id_copy_no_main() changing pointers of constraints used
in pose to a newly allocated ID. This is correct, but caused confusion too our
copy on write remapping, because we are mimicing inplace duplication by copying
memory over from a temporarily duplicated ID to a proper placeholder. This was
causing dangling pointers in pose to a temporarily allocated ID.

Now we add special code to remapping callback which replaces temporary ID with
a proper one.

Commit Details:

Full Hash: 3212e72cfea2bbfdb8bbf765f0326b17e588bfb3
Parent Commit: ac136ba
Lines Changed: +42, -7

1 Modified Path:

/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+42, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021